1. 29 Oct, 2003 11 commits
    • * 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 12 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
    • re PR ada/5909 (Ada has no test suite.) · d0a74d7e
      	PR ada/5909:
      	* doc/sourcebuild.texi: Document Ada test suite.
      
      From-SVN: r72984
      Arnaud Charlet committed
    • re PR ada/5909 (Ada has no test suite.) · ecad994d
      	* Makefile.generic: Add missing substitution on object_deps handling.
      
      	PR ada/5909:
      	* Make-lang.in (check-ada): Enable ACATS test suite.
      
      	* exp_ch3.adb:
      	(Freeze_Array_Type): We do not need an initialization routine for types
      	derived from String or Wide_String. They should be treated the same
      	as String and Wide_String themselves. This caused problems with the
      	use of Initialize_Scalars.
      
      	* exp_ch5.adb:
      	(Expand_Assign_Record): Do component-wise assignment of non-byte aligned
      	composites. This allows use of component clauses that are not byte
      	aligned.
      
      	* sem_prag.adb:
      	(Analyze_Pragma, case Pack): Generate warning and ignore pack if there
      	is an attempt to pack an array of atomic objects.
      
      	* make.adb, prj-env.adb, prj-env.ads: Minor reformatting
      
      	* g-dirope.adb:
      	(Basename): Check for drive letters in a pathname only on DOS based OS.
      
      	* make.adb:
      	(Gnatmake): When unable to change dir to the object dir, display the
      	content of the parent dir of the obj dir, to try to understand why this
      	happens.
      
      	* Make-lang.in: Makefile automatically updated
      
      	* sem_ch12.adb:
      	(Inline_Instance_Body): Indicate that the save/restore of use_clauses
      	should not be done in Save/Restore_Scope_Stack, because it is performed
      	locally.
      
      	* sem_ch8.adb:
      	(Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
      	whether use clauses should be removed/restored.
      
      	* sem_ch8.ads:
      	(Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
      	whether use clauses should be removed/restored.
      
      From-SVN: r72983
      Arnaud Charlet committed
    • m68hc11.c: Convert to ISO C90. · e1ffc70a
      	* config/m68hc11/m68hc11.c: Convert to ISO C90.
      	* config/m68hc11/m68hc11-protos.h: Likewise.
      
      From-SVN: r72981
      Stephane Carrez committed
    • Added my e-mail address. · 65b19349
      From-SVN: r72980
      Eric Botcazou committed
    • toplev.c (enum dump_file_index, dump_file): Fix ordering of webizer pass dump. · aa888d0f
      
      	* toplev.c (enum dump_file_index, dump_file):  Fix ordering of
      	webizer pass dump.
      
      From-SVN: r72979
      Jan Hubicka committed
    • re PR ada/5909 (Ada has no test suite.) · c011a52f
      	PR ada/5909:
      	* README.ada, ada/acats: Import ACATS 2.5 for GCC Ada test suite.
      
      From-SVN: r72978
      Arnaud Charlet committed
    • re PR ada/5909 (Ada has no test suite.) · 8d39e92b
      PR ada/5909:
      Import ACATS 2.5 for GCC Ada test suite.
      
      From-SVN: r72977
      Arnaud Charlet committed