1. 14 Nov, 2003 26 commits
    • * sinfo.h, treeprs.ads: Regenerated. · 262cc585
      From-SVN: r73601
      Arnaud Charlet committed
    • * nmake.ads, nmake.adb: Regenerated. · 95a6aaf9
      From-SVN: r73600
      Arnaud Charlet committed
    • config/fr30/fr30.c: Include toplev.h · f53100ef
      From-SVN: r73599
      Nick Clifton committed
    • arm.c (arm_emit_vector_const, [...]): Use ISO C function definition syntax. · 6f5f2481
      * arm.c (arm_emit_vector_const, arm_output_load_gr): Use ISO C
      function definition syntax.
      
      From-SVN: r73597
      Richard Earnshaw committed
    • [multiple changes] · 65356e64
      2003-11-13  Vincent Celier  <celier@gnat.com>
      
      	* 5bml-tgt.adb (Build_Dynamic_Library): Use
      	Osint.Include_Dir_Default_Prefix instead of
      	Sdefault.Include_Dir_Default_Name.
      
      	* gnatlbr.adb: Update Copyright notice
      	(Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
      	Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
      	instead of Sdefault.Object_Dir_Default_Name
      
      	* gnatlink.adb:
      	(Process_Binder_File): Never suppress the option following -Xlinker
      
      	* mdll-utl.adb:
      	(Gcc): Use Osint.Object_Dir_Default_Prefix instead of
      	Sdefault.Object_Dir_Default_Name.
      
      	* osint.ads, osint.adb:
      	(Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
      	Minor reformatting.
      
      	* vms_conv.ads: Minor reformating
      	Remove GNAT STANDARD and GNAT PSTA
      
      	* vms_conv.adb:
      	Allow GNAT MAKE to have several files on the command line.
      	(Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
      	Sdefault.Object_Dir_Default_Name.
      	Minor Reformating
      	Remove data for GNAT STANDARD
      
      	* vms_data.ads:
      	Add new compiler qualifier /PRINT_STANDARD (-gnatS)
      	Remove data for GNAT STANDARD
      	Remove options and documentation for -gnatwb/-gnatwB: these warning
      	options no longer exist.
      
      2003-11-13  Ed Falis  <falis@gnat.com>
      
      	* 5zthrini.adb: (Init_RTS): Made visible
      
      	* 5zthrini.adb:
      	(Register): Removed unnecessary call to taskVarGet that checked whether
      	 an ATSD was already set as a task var for the argument thread.
      
      	* s-thread.adb:
      	Updated comment to reflect that this is a VxWorks version
      	Added context clause for System.Threads.Initialization
      	Added call to System.Threads.Initialization.Init_RTS
      
      2003-11-13  Jerome Guitton  <guitton@act-europe.fr>
      
      	* 5zthrini.adb:
      	(Init_RTS): New procedure, for the initialization of the run-time lib.
      
      	* s-thread.adb:
      	Remove dependancy on System.Init, so that this file can be used in the
      	AE653 sequential run-time lib.
      
      2003-11-13  Robert Dewar  <dewar@gnat.com>
      
      	* bindgen.adb: Minor reformatting
      
      2003-11-13  Ed Schonberg  <schonberg@gnat.com>
      
      	* checks.adb:
      	(Apply_Discriminant_Check): Do no apply check if target type is derived
      	from source type with no applicable constraint.
      
      	* lib-writ.adb:
      	(Ensure_System_Dependency): Do not apply the style checks that may have
      	been specified for the main unit.
      
      	* sem_ch8.adb:
      	(Find_Selected_Component): Further improvement in error message, with
      	RM reference.
      
      	* sem_res.adb:
      	(Resolve): Handle properly the case of an illegal overloaded protected
      	procedure.
      
      2003-11-13  Javier Miranda  <miranda@gnat.com>
      
      	* exp_aggr.adb:
      	(Has_Default_Init_Comps): New function to check the presence of
      	default initialization in an aggregate.
      	(Build_Record_Aggr_Code): Recursively expand the ancestor in case of
      	extension aggregate of a limited record. In addition, a new formal
      	was added to do not initialize the record controller (if any) during
      	this recursive expansion of ancestors.
      	(Init_Controller): Add support for limited record components.
      	(Expand_Record_Aggregate): In case of default initialized components
      	convert the aggregate into a set of assignments.
      
      	* par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
      	describing the new syntax.
      	Nothing else needed to be done because this subprogram delegates part of
      	its work to P_Precord_Or_Array_Component_Association.
      	(P_Record_Or_Array_Component_Association): Give support to the new
      	syntax for default initialization of components.
      
      	* sem_aggr.adb:
      	(Resolve_Aggregate): Relax the strictness of the frontend in case of
      	limited aggregates.
      	(Resolve_Record_Aggregate): Give support to default initialized
      	components.
      	(Get_Value): In case of default initialized components, duplicate
      	the corresponding default expression (from the record type
      	declaration). In case of default initialization in the *others*
      	choice, do not check that all components have the same type.
      	(Resolve_Extension_Aggregate): Give support to limited extension
      	aggregates.
      
      	* sem_ch3.adb:
      	(Check_Initialization): Relax the strictness of the front-end in case
      	of aggregate and extension aggregates. This test is now done in
      	Get_Value in a per-component manner.
      
      	* sem_ch4.adb (Analyze_Allocator): Don't post an error if the
      	expression corresponds to a limited aggregate. This test is now done
      	in Get_Value.
      
      	* sinfo.ads, sinfo.adb (N_Component_Association): Addition of
      	Box_Present flag.
      
      	* sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
      	present in an N_Component_Association node
      
      2003-11-13  Thomas Quinot  <quinot@act-europe.fr>
      
      	* sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
      	type-conformant entry only if they are homographs.
      
      2003-11-13  GNAT Script  <nobody@gnat.com>
      
      	* Make-lang.in: Makefile automatically updated
      
      From-SVN: r73596
      Arnaud Charlet committed
    • reload1.c (reload): Revert previous patch. · f2b7f367
      2003-11-14  Eric Christopher  <echristo@redhat.com>
      
              * reload1.c (reload): Revert previous patch. Make
              check for assignment into reg_equiv_address stricter.
      
      From-SVN: r73595
      Eric Christopher committed
    • Makefile.in (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS. · 15cc172b
      	* Makefile.in (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
      	* gcc/Makefile.in (POSTSTAGE1_FLAGS_TO_PASS): Pass ADAFLAGS.
      
      From-SVN: r73594
      Arnaud Charlet committed
    • frv.c (frv_in_small_data_p): Return false for unknown section names. · 68c0ab4f
      	* config/frv/frv.c (frv_in_small_data_p): Return false for unknown
      	section names.
      
      From-SVN: r73593
      Richard Sandiford committed
    • re PR ada/13035 (Ada testsuite uses installed gcc) · 7fb768e5
      	PR ada/13035
      	* ada/acats/run_acats, run_all.sh: Fix syntax errors.
      	No longer use a wrapper for gcc, since this does not work under
      	Windows, use --GCC switch instead.
      
      From-SVN: r73592
      Arnaud Charlet committed
    • howto.html: Add entries for DR 63, 75 and 305; tweak entries for DR 60 and 328. · c60cfc76
      2003-11-14  Paolo Carlini  <pcarlini@suse.de>
      
      	* docs/html/ext/howto.html: Add entries for DR 63, 75
      	and 305; tweak entries for DR 60 and 328.
      
      From-SVN: r73591
      Paolo Carlini committed
    • re PR middle-end/12526 ([tree-ssa] internal compiler error: Segmentation fault) · f027e0a2
              PR middle-end/12526
              * tree.c (build): A CALL_EXPR has side-effects if its arguments do.
              * calls.c (call_expr_flags): New fn.
              * tree.h: Declare it.
      
      From-SVN: r73589
      Jason Merrill committed
    • re PR middle-end/12526 ([tree-ssa] internal compiler error: Segmentation fault) · 33552225
              PR middle-end/12526
              * tree.c (build): A CALL_EXPR has side-effects if its arguments do.
              * calls.c (call_expr_flags): New fn.
              * tree.h: Declare it.
              * tree-cfg.c (call_expr_flags): Move to calls.c.
              * tree-flow.h: Move prototype to tree.h.
      
      From-SVN: r73588
      Jason Merrill committed
    • re PR c++/13033 ([tree-ssa] ICE in lower_stmt) · 53ee1bf3
              PR c++/13033
              * c-simplify.c (gimplify_c_loop): Wrap the increment in a
              CLEANUP_POINT_EXPR.
      
      From-SVN: r73587
      Jason Merrill committed
    • Removed, unused and does not compile on all platforms. · 93647154
      From-SVN: r73585
      Arnaud Charlet committed
    • New test. · 98f685a2
      From-SVN: r73581
      Richard Henderson committed
    • re PR c++/2094 (unimplemented: use of `ptrmem_cst' in template type unification) · aede75ed
              PR c++/2094
              * g++.dg/template/ptrmem7.C: New test.
      
      From-SVN: r73578
      Giovanni Bajo committed
    • re PR c++/2094 (unimplemented: use of `ptrmem_cst' in template type unification) · 28e8f3a0
              PR c++/2094
              * pt.c (unify): Add support for PTRMEM_CST and
              FIELD_DECL unification.
      
      From-SVN: r73577
      Giovanni Bajo committed
    • lib1funcs.asm (__udivsi3): Remove. · 0f8db53e
      	* config/h8300/lib1funcs.asm (__udivsi3): Remove.
      	(divmodsi3): Change the name to ___udivsi3.
      	Update all callers.
      
      From-SVN: r73576
      Kazu Hirata committed
    • libgcc2.c (__negdi2, [...]): Const-ify and/or initialize automatic variables at declaration. · b982024e
      	* libgcc2.c (__negdi2, __addvsi3, __addvdi3, __subvsi3, __subvdi3,
      	__mulvsi3, __negvsi2, __negvdi2, __mulvdi3, __lshrdi3, __ashldi3,
      	__ashrdi3, __ffsDI2, __muldi3, __clzDI2, __ctzDI2, __parityDI2,
      	__udivmoddi4, __divdi3, __moddi3, __cmpdi2, __ucmpdi2,
      	__fixunstfDI, __fixunsxfDI, __fixunsdfDI, __fixunssfDI,
      	__floatdixf, __floatditf, __floatdidf, __floatdisf, __gcc_bcmp):
      	Const-ify and/or initialize automatic variables at declaration.
      
      From-SVN: r73573
      Kaveh R. Ghazi committed
    • lib1funcs.asm (divmodsi4): Replace all the uses of er4 with er3. · ef1f2e12
      	* config/h8300/lib1funcs.asm (divmodsi4): Replace all the uses
      	of er4 with er3.  Adjust all callers.
      
      From-SVN: r73572
      Kazu Hirata committed
    • jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to JvGetStringUTFRegion. · b86ca9a2
      	* jni.cc (_Jv_JNI_GetStringUTFChars): Pass length of string to
      	JvGetStringUTFRegion.
      	* java/lang/natPosixProcess.cc (new_string): Pass length of string
      	to JvGetStringUTFRegion.
      	* java/lang/natDouble.cc (parseDouble): Pass length of string to
      	JvGetStringUTFRegion.
      	* java/lang/natWin32Process.cc (startProcess): Pass length of
      	string to JvGetStringUTFRegion.
      	* java/lang/natClass.cc (forName): Pass length of string to
      	JvGetStringUTFRegion.
      	* gnu/gcj/runtime/natNameFinder.cc (getExternalLabel): Pass length
      	of string to JvGetStringUTFRegion.
      	* gnu/gcj/convert/natIconv.cc (init): Pass length of string to
      	JvGetStringUTFRegion.
      	* gnu/awt/gtk/natGtkLabelPeer.cc (setText): Pass length of string
      	to JvGetStringUTFRegion.
      	* gnu/awt/gtk/natGtkButtonPeer.cc (setLabel): Pass length of
      	string to JvGetStringUTFRegion.
      
      From-SVN: r73571
      Tom Tromey committed
    • +2003-11-13 Andrew Pinski <apinski@apple.com> + + * config/darwin.c... · a25d596a
      +2003-11-13  Andrew Pinski <apinski@apple.com>
      +
      +       * config/darwin.c (machopic_output_possible_stub_label):
      +       Allow stub symbol be not defined when outputting possible
      +       stub label.
      +
      +2003-11-13  Andrew Pinski <apinski@apple.com>
      +
      +       * gcc.c-torture/compile/20031113-1.c: New test.
      +
      
      From-SVN: r73570
      Andrew Pinski committed
    • jniutf.c: New file. · d794fb9f
      2003-11-13  Tom Fitzsimmons  <fitzsim@redhat.com>
      
      	* libjava.jni/jniutf.c: New file.
      	* libjava.jni/jniutf.java: New file.
      	* libjava.jni/jniutf.out: New file.
      
      From-SVN: r73569
      Tom Fitzsimmons committed
    • Daily bump. · 83913cb5
      From-SVN: r73566
      GCC Administrator committed
    • debug.html: Users are allowed to specialize in namespace __gnu_debug... · 1b80d64a
      
      2003-11-13  Douglas Gregor  <gregod@cs.rpi.edu>
      
      	* docs/html/debug.html: Users are allowed to specialize in
      	namespace __gnu_debug, unlike in the Apple version of the debug
      	mode. Clear up a confusing double-negative. Note that
      	std::basic_string does provide extra debugging capabilities, but
      	not safe iterators.
      	* include/bits/basic_string.tcc: Make sure there's never an
      	ambiguity when calling __is_null_pointer.
      	* include/debug/deque: (deque::erase) Properly handle invalidation
      	when erasing at the end of the deque.
      	* include/debug/vector: (vector::swap): Swap _M_guaranteed_capacity.
      	(vector::clear): Set the guaranteed capacity to 0.
      	* testsuite/23_containers/deque/invalidation/4.cc: (test04): Test
      	iterator invalidation when erasing at the end of the deque.
      
      From-SVN: r73564
      Douglas Gregor committed
  2. 13 Nov, 2003 14 commits