1. 29 Oct, 2003 19 commits
    • [multiple changes] · 8b941eec
      2003-10-29  Mark Wielaard  <mark@klomp.org>
      
      	From Guilhem Lavaux  <guilhem.lavaux@free.fr>
      	* java/text/DateFormat.java (Field): New public static inner class.
      	* java/text/Format.java (Field): Likewise.
      	(formatToCharacterIterator): New method.
      	* java/text/FormatCharacterIterator.java: New file.
      
      2003-10-29  Mark Wielaard  <mark@klomp.org>
      
      	From Guilhem Lavaux  <guilhem.lavaux@free.fr>
      	* java/util/Currency.java: New file.
      
      2003-10-29  Michael Koch  <konqueror@gmx.de>
      
      	* Makefile.am (ordinary_java_source_files): Added
      	java/text/FormatCharacterIterator.java and java/util/Currency.java.
      	* Makefile.in: Regenerated.
      
      From-SVN: r73046
      Michael Koch committed
    • Added a missing word. · f2225d74
      From-SVN: r73045
      Eric Botcazou committed
    • sparc.c (function_arg_partial_nregs): Never return 1 for complex integral modes… · 69494148
      sparc.c (function_arg_partial_nregs): Never return 1 for complex integral modes whose size is lesser or equal to a word.
      
      	* config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
      	Never return 1 for complex integral modes whose size is lesser or
      	equal to a word.
      	(function_arg_pass_by_reference) [TARGET_ARCH64]: Mention CTImode
      	in the comment.
      	(function_arg_advance) [TARGET_ARCH64]: Don't special-case complex
      	modes.
      	(sparc_va_arg) [TARGET_ARCH64]: Handle any types whose is greater
      	than 16 bytes by reference.
      
      From-SVN: r73044
      Eric Botcazou committed
    • IntrospectionIncubator.java (addMethod): Add public static methods. · 2035efe7
      2003-10-29  Dalibor Topic  <robilad@kaffe.org>
      
      	* gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
      	static methods.
      
      From-SVN: r73043
      Dalibor Topic committed
    • locale_facets.tcc (num_get::_M_extract_float): Revert the last commit, is incorrect, sorry. · 58c9703f
      2003-10-29  Paolo Carlini  <pcarlini@suse.de>
      
              * include/bits/locale_facets.tcc (num_get::_M_extract_float):
      	Revert the last commit, is incorrect, sorry.
      
      From-SVN: r73042
      Paolo Carlini committed
    • NamingManager.java (getContinuationContext): Call getObjectInstance() with Object... · f0dc1efa
      2003-10-29  Julian Dolby  <dolby@us.ibm.com>
      
      	* javax/naming/spi/NamingManager.java (getContinuationContext): Call
      	getObjectInstance() with Object, Name, Context and environment
      	Hashtable from exception. Call fillInStackTrace() on exception when
      	rethrown.
      	* javax/naming/InitialContext.java (lookup(Name)): When a
      	CannotProceedException is thrown use the ContinuationContext.
      	(lookup(String)): Likewise.
      	(close): Clear myProps and defaultInitCtx.
      
      From-SVN: r73041
      Julian Dolby committed
    • Somehow this didnt got commited due to full hard disk. · 119d34b2
      From-SVN: r73040
      Michael Koch committed
    • ia64.c (ia64_assemble_integer): Test POINTER_SIZE, not TARGET_ILP32. · b6a41a62
      	* config/ia64/ia64.c (ia64_assemble_integer): Test POINTER_SIZE,
      	not TARGET_ILP32.
      	(ia64_initialize_trampoline): Use globalize_label target call.
      
      From-SVN: r73039
      Richard Kenner committed
    • * ada/acats/run_all.sh: Redirect mv output to /dev/null · 24c98fae
      From-SVN: r73037
      Arnaud Charlet committed
    • c_locale.cc: Add back <cmath> and <cstdlib>. · 4f363232
      2003-10-29  Paolo Carlini  <pcarlini@suse.de>
      
      	* config/locale/generic/c_locale.cc: Add back <cmath>
      	and <cstdlib>.
      
      	* include/bits/locale_facets.tcc
      	(num_get::_M_extract_float): Clean up.
      
      From-SVN: r73036
      Paolo Carlini committed
    • locale_facets.tcc (time_put::put): Absolutely avoid dereferencing end iterators; clean up. · 6bf0b59c
      2003-10-29  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.tcc (time_put::put): Absolutely
      	avoid dereferencing end iterators; clean up.
      
      	* include/bits/locale_facets.tcc (num_get::_M_extract_float,
      	num_get::_M_extract_int): Minor tweak.
      
      From-SVN: r73035
      Paolo Carlini committed
    • 2003-10-29 Michael Koch <konqueror@gmx.de> · 9c9081ae
      	* java/net/InetAddress.java
      	(equals): Remove redundant obj == null check.
      	* java/net/SocketPermission.java
      	(equals): Likewise.
      	* java/net/URL.java
      	(equals): Likewise.
      	(getURLStreamHandler): Likewise.
      
      From-SVN: r73034
      Michael Koch committed
    • 2003-10-29 Michael Koch <konqueror@gmx.de> · 1d749ee0
      	* gnu/java/net/natPlainDatagramSocketImplPosix.cc
      	(setOption): Directly return if no error occured.
      	* gnu/java/net/natPlainSocketImplPosix.cc
      	(setOption): Likewise.
      
      From-SVN: r73033
      Michael Koch committed
    • 3vtrasym.adb, [...]: Minor reformatting · 657a9dd9
      	* 3vtrasym.adb, 5vtraent.ads, sprint.adb,
      	sem_ch10.adb: Minor reformatting
      
      	* exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
      	(Expand_Assign_Record): Test right hand side for bit unaligned as well
      
      	* 3vtrasym.adb:
      	* 5vtraent.adb:
      	* 5vtraent.ads:
      	* tb-alvms.c:
      	Support for TBK$SYMBOLIZE-based symbolic traceback.
      
      	* exp_disp.adb:
      	Revert previous change, that did not work well when pragma No_Run_Time
      	was used in conjunction with a run-time other than ZFP.
      
      	* make.adb:
      	(Gnatmake): When there are no Ada mains in attribute Main, disable the
      	 bind and link steps only is switch -z is not used.
      
      	* Makefile.generic: Remove duplicated setting of CC.
      
      	* Makefile.prolog: Set CC to gcc by default, to override make's
      	default (cc).
      
      	* einfo.h: Regenerated.
      
      	* sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
      	current body, after compiling subunit.
      
      	* itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
      	when in deleted code, because gigi needs properly ordered freeze
      	actions to annotate types.
      
      	* freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
      	prevent the premature freezing of record type that contains
      	subcomponents with a private type that does not yet have a completion.
      
      	* sem_ch12.adb:
      	(Analyze_Package_Instantiation): Check that instances can not be used in
      	limited with_clauses.
      
      	* sem_ch8.adb:
      	(Analyze_Package_Renaming): Check that limited withed packages cannot
      	be renamed. Improve text on error messages related to limited
      	with_clauses.
      
      	* einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
      
      	* sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
      	Update copyright notice.
      
      	* sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
      	(Install_Limited_Context_Clauses): New subprogram that isolates all the
      	checks required for limited context_clauses and installs the limited
      	view.
      	(Install_Limited_Withed_Unit): Complete its documentation.
      	(Analyze_Context): Check that limited with_clauses are only allowed in
      	package specs.
      	(Install_Context): Call Install_Limited_Context_Clauses after the
      	parents have been installed.
      	(Install_Limited_Withed_Unit): Add documentation. Mark the installed
      	package as 'From_With_Type'; this mark indicates that the limited view
      	is installed. Used to check bad usages of limited with_clauses.
      	(Build_Limited_Views): Do not add shadow entities to the scope's list
      	of entities. Do not add real entities to the Non_Limited_Views chain.
      	Improve error notification.
      	(Remove_Context_Clauses): Remove context clauses in two phases:
      	limited views first and regular views later (to maintain the
      	stack model).
      	(Remove_Limited_With_Clause): If the package is analyzed then reinstall
      	its visible entities.
      
      	* sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
      	with any type that Is_Fixed_Point_Type.
      
      	* sinfo.ads: Fix documentation for Associated_Node attribute.
      
      	* switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
      	both '-gnatc' and '-gnatt' are specified.
      
      	* atree.adb (Initialize): Add initialization for Node_Count (set to
      	zero).
      
      	* decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
      	do not consider as Pure.
      
      	Part of implementation of function-at-a-time:
      
      	* trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
      	(tree_transform): Add new argument to build_component_ref.
      	(tree_transform, case N_Assignment_Statement): Make and return an
      	EXPR_STMT.
      	(tree_transform): If result IS_STMT, set flags and return it.
      	(gnat_expand_stmt, set_lineno_from_sloc): New functions.
      
      	* utils2.c (build_simple_component_ref, build_component_ref): Add new
      	arg, NO_FOLD_P.
      	(build_binary_op, case EQ_EXPR): Pass additional arg to it.
      	(build_allocator): Likewise.
      
      	* utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
      	Add new arg to build_component_ref.
      	(maybe_unconstrained_array, unchecked_convert): Likewise.
      
      	* ada-tree.def (EXPR_STMT): New code.
      
      	* ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
      
      	* decl.c (gnat_to_gnu_entity, case object): Add extra arg to
      	build_component_ref calls.
      
      	* misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
      
      	* gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
      	(build_component_ref): Add new argument, NO_FOLD_P.
      
      From-SVN: r73032
      Arnaud Charlet committed
    • install.texi (Building): Add a sentence about building Ada for a canadian cross. · e9da8a5a
      	* doc/install.texi (Building): Add a sentence about building Ada
      	for a canadian cross.
      
      From-SVN: r73031
      Andreas Schwab committed
    • locale_facets.tcc: Remove some unnecessary includes. · c9cca2c2
      2003-10-29  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.tcc: Remove some unnecessary
      	includes.
      	* config/locale/generic/c_locale.cc: Include <cerrno> here.
      	* config/locale/gnu/c_locale.cc: Likewise.
      
      From-SVN: r73030
      Paolo Carlini committed
    • ia64.c (cmptf_libfunc): New static. · 24ea7948
      	* config/ia64/ia64.c (cmptf_libfunc): New static.
      	(ia64_expand_compare): Add logic to open-code calls to
      	_U_Qfcmp for TFmode comparisons.
      	(ia64_hpux_init_libfuncs): Initialize cmptf_libfunc.
      	Set libfuncs for TFmode eq/ne/gt/ge/lt/gt to 0; these should
      	never be generated anymore.
      	* config/ia64/ia64.md (cmptf): New expander.
      
      From-SVN: r73028
      Zack Weinberg committed
    • ia64.md (UNSPEC_SETF_EXP,UNSPEC_FR_SQRT_RECIP_APPROX): New constants. · b38ba463
      	* ia64.md (UNSPEC_SETF_EXP,UNSPEC_FR_SQRT_RECIP_APPROX): New constants.
      	(*sqrt_approx): New instruction pattern for approximate square roots.
      	(*setf_exp_xf): New instruction pattern for exponentiation.
      	(*maddxf4_alts_truncsf): New instruction pattern for truncation.
      	(sqrtsf2_internal_thr): New define_and_split implementing
      	throughput-optimized inline calculation of SFmode square root.
      	(sqrtdf2_internal_thr): Likewise for DFmode.
      	(sqrtxf2_internal_thr): Likewise for XFmode.
      	(sqrtsf2, sqrtdf2, sqrtxf2): New expanders to choose between
      	latency- and throughput-optimized square root algorithms.
      	* ia64.h (MASK_INLINE_SQRT_LAT, MASK_INLINE_SQRT_THR,
      	TARGET_INLINE_SQRT_LAT, TARGET_INLINE_SQRT_THR, TARGET_INLINE_SQRT):
      	New macros.
      	(TARGET_SWITCHES): Add -minline-sqrt-min-latency and
      	-minline-sqrt-max-throughput.
      	* ia64.c (ia64_override_options): If both -minline-sqrt-min-latency
      	and -minline-sqrt-max-throughput are given, notify the user
      	that both options cannot be used simultaneously.
      	If -minline-sqrt-min-latency is given, notify the user that
      	this mode is not yet implemented.
      	(rtx_needs_barrier): Reformat initial comment to obey
      	72-character width limit.  Support UNSPEC_SETF_EXP and
      	UNSPEC_FR_SQRT_RECIP_APPROX.
      
      From-SVN: r73027
      Zack Weinberg committed
    • Daily bump. · 1e8fee4a
      From-SVN: r73025
      GCC Administrator committed
  2. 28 Oct, 2003 17 commits
  3. 27 Oct, 2003 4 commits
    • re PR libstdc++/12778 (1022 bootstrap failure building libstdc++-v3/src/basic_file.cc) · 0c6b814a
      2003-10-27  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/12778
      	* acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r72994
      Paolo Carlini committed
    • TODO: Add links. · 0f09879b
      
      2003-10-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* docs/html/17_intro/TODO: Add links.
      	* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
      	Uncomment.
      
      From-SVN: r72991
      Benjamin Kosnik committed
    • re PR libstdc++/12750 (time_get::_M_extract_via_format doesn't deal with 'e') · f20d2b78
      2003-10-27  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/12750
      	* include/bits/locale_facets.tcc
      	(time_get::_M_extract_via_format): Deal with code 'e'.
      	* testsuite/22_locale/time_get/get_date/char/12750.cc: New.
      	* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.
      
      	* include/bits/locale_facets.tcc
      	(time_get::_M_extract_via_format): Tweak to absolutely avoid
      	dereferencing end iterators.
      
      	* include/bits/locale_facets.h (__verify_grouping):
      	Const-ify second parameter.
      	* include/bits/locale_facets.tcc (__verify_grouping): Ditto.
      	* src/locale-inst.cc (__verify_grouping): Ditto.
      
      2003-10-27  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.tcc (num_get::_M_extract_float):
      	Various things: 1- Avoid absolutely end iterator dereferences;
      	2- Improve performance-wise the code skipping leading zeros;
      	3- Fix two bugs wrt early bail out in case of parsing errors
      	(see testcases); 4- General clean up.
      	(num_get::_M_extract_int): Likewise, except 3-. Additionally,
      	use __builtin_expect to favor base 10 inputs.
      	* testsuite/22_locale/num_get/get/char/7.cc: New.
      	* testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.
      
      From-SVN: r72987
      Paolo Carlini committed