Skip to content
Snippets Groups Projects
  1. May 13, 2004
  2. May 12, 2004
  3. May 11, 2004
  4. May 10, 2004
    • Kaz Kojima's avatar
      re PR target/15130 ([3.3/3.4][sh4-linux] miscompilation with -O2) · 726d4cb7
      Kaz Kojima authored
      	PR target/15130
      	* config/sh/sh-protos.h (sh_expand_epilogue): Change prototype.
      	* config/sh/sh.c (output_stack_adjust): Take the sibcall epilogue
      	into account.  Compute the correct number of general registers
      	for the return value.  Generate a special push/pop sequence when
      	failing to get a temporary register for non SHmedia epilogue.
      	(sh_expand_epilogue): Add an argument to show whether it's for
      	sibcall or not.  Set the 3rd argument of output_stack_adjust to
      	-1 if needed.
      	(sh_need_epilogue): Call sh_expand_epilogue with 0.
      	* config/sh/sh.md (sibcall_epilogue): Call sh_expand_epilogue
      	with 1.
      	(epilogue): Call sh_expand_epilogue with 0.
      
      From-SVN: r81683
      726d4cb7
    • Andrew Pinski's avatar
      gcse.c (eliminate_partially_redundant_loads): Instead of returning early, goto a cleanup label. · 0c196bf9
      Andrew Pinski authored
      2004-05-10  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * gcse.c (eliminate_partially_redundant_loads): Instead of returning early,
              goto a cleanup label.  After the cleanup, free the allocated memory.
      
      From-SVN: r81682
      0c196bf9
    • Ziemowit Laski's avatar
      altivec.h (vec_sld): Add overloads for argument/return types of 'vector bool int'... · 16cfa3dc
      Ziemowit Laski authored
      [gcc/ChangeLog]
      2004-05-10  Ziemowit Laski  <zlaski@apple.com>
      
              * config/rs6000/altivec.h (vec_sld): Add overloads for
              argument/return types of 'vector bool int', 'vector bool short'
              and 'vector bool char'.
      
      [gcc/testsuite/ChangeLog]
      2004-05-10  Ziemowit Laski  <zlaski@apple.com>
      
              * g++.dg/ext/altivec-8.C: New test case.
              * gcc.dg/altivec-13.c: New test case.
      
      From-SVN: r81681
      16cfa3dc
    • Andreas Tobler's avatar
      libjava.exp (libjava_invoke): Add new argument ld_library_additions. · 3f68457e
      Andreas Tobler authored
      2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* testsuite/lib/libjava.exp (libjava_invoke): Add new argument
      	ld_library_additions. Adjust all calls to libjava_invoke to match
      	the new argument.
      
      	* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
      	path to cxxflagslist.
      	Pass path of libstdc++ to libjava_invoke.
      
      	* testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
      	libjava_invoke arguments.
      
      From-SVN: r81679
      3f68457e
    • Zack Weinberg's avatar
      c-decl.c (store_parm_decls_newstyle): Correct test for a nested function. · 3358cae0
      Zack Weinberg authored
      	* c-decl.c (store_parm_decls_newstyle): Correct test for a
      	nested function.
      
      From-SVN: r81677
      3358cae0
    • Richard Sandiford's avatar
      read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted, treating missing ones as "". · 62d45923
      Richard Sandiford authored
      	* read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted,
      	treating missing ones as "".
      	* config/mips/mips.md: Remove constraints from match_operands and
      	match_scratches if they appear in define_expands (except reload*),
      	define_peephole2s, define_splits or attribute specifications.
      	* config/mips/7000.md, config/mips/sb1.md: Remove match_operand
      	constraint strings.
      
      From-SVN: r81676
      62d45923
    • Andrew Haley's avatar
      parse.y (create_class): Set TYPE_VFIELD. · af434fa7
      Andrew Haley authored
      2004-05-10  Andrew Haley  <aph@redhat.com>
      
      	* parse.y (create_class): Set TYPE_VFIELD.
      	* decl.c (java_init_decl_processing): Likewise.
      
      	* expr.c (build_invokevirtual): Remove DECL_VINDEX offset adjustment.
      	* class.c (make_method_value): Replace DECL_VINDEX with call to
      	get_method_index().
      	(get_dispatch_vector): Likewise.
      	(layout_class_method): Likewise.
      	Replace set of DECL_VINDEX with call to set_method_index().
      	(set_method_index): New function.
      	(get_method_index): New function.
      	* java-tree.h (set_method_index): New function decl.
      	(get_method_index): New function decl.
      
      From-SVN: r81672
      af434fa7
    • Arnaud Charlet's avatar
      [multiple changes] · 5950a3ac
      Arnaud Charlet authored
      2004-05-10  Doug Rupp  <rupp@gnat.com>
      
      	* 5qsystem.ads: Remove Short_Address subtype declaration. Moved to
      	system.aux_dec.
      
      	* s-auxdec.ads: Add Short_Address subtype (moved here from System).
      
      	* Makefile.in: [VMS]: Add translation for 5qauxdec.ads.
      
      	* init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha.
      	Fixes undefined symbols in IA64 gnatlib.
      
      	* 5vinmaop.adb: Reference s-auxdec for Short_Address.
      
      	* 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype
      	Short_Address). This will be moved to system.auxdec.
      
      2004-05-10  Thomas Quinot  <quinot@act-europe.fr>
      
      	* sem_util.adb: Replace test for presence of a node that is always
      	present with a call to Discard_Node.
      
      	* sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to
      	Analyze on the library unit node after generation of distribution stub
      	constructs.  The call was a no-op because Unit_Node has already been
      	Analyzed, and the tree fragments for the distribution stubs are
      	analyzed as they are inserted in Exp_Dist.
      	Update comment regarding to distribution stubs to reflect that we
      	do not generate stub in separate files anymore.
      
      	* einfo.ads: Clarify the fact that a tagged private type has the
      	E_Record_Type_With_Private Ekind.
      
      	* erroutc.adb: Minor reformatting
      
      	* erroutc.ads (Max_Msg_Length): Increase to cover possible larger
      	values if line length is increased using -gnatyM (noticed during code
      	reading).
      
      	* eval_fat.adb: Minor reformatting
      	Put spaces around exponentiation operator
      
      2004-05-10  Ed Schonberg  <schonberg@gnat.com>
      
      	PR ada/15005
      	* sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix
      	has been rewritten as an explicit dereference, retrieve type of
      	original node to check for possibly unconstrained record type.
      
      2004-05-10  Ed Schonberg  <schonberg@gnat.com>
      
      	* exp_ch7.adb (Check_Visibly_Controlled): If given operation is not
      	overriding, use the operation of the parent unconditionally.
      
      	* sem_ch4.adb (Remove_Address_Interpretations): Remove address
      	operation when either operand is a literal, to avoid further
      	ambiguities.
      
      	* sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and
      	overridden by a previous explicit declaration, mark the previous entity
      	as overriding.
      
      	* sem_disp.adb (Check_Dispatching_Operation): New predicate
      	Is_Visibly_Controlled, to determine whether a declaration of a
      	primitive control operation for a derived type overrides an inherited
      	one. Add warning if the explicit declaration does not override.
      
      2004-05-10  Vincent Celier  <celier@gnat.com>
      
      	* gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in
      	some cases when the sources are no longer present.
      
      	* make.adb (Collect_Arguments): Fail if an external source, not part
      	of any project need to be compiled, when switch -x has not been
      	specified.
      
      	* makeusg.adb: Document new switch -x
      
      	* opt.ads (External_Unit_Compilation_Allowed): New Boolean flag,
      	defaulted to False.
      
      	* switch-m.adb (Scan_Make_Switches): New switch -x
      
      	* vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for
      	gnatmake switch -x.
      
      	* gnat_ugn.texi: Document new gnatmake switch -x
      
      2004-05-10  Eric Botcazou  <ebotcazou@act-europe.fr>
      
      	* misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0.
      
      	* utils.c (create_var_decl): Do not modify the DECL_COMMON flag.
      	(process_attributes): Likewise.
      
      2004-05-10  Joel Brobecker  <brobecker@gnat.com>
      
      	* s-inmaop.ads: Fix spelling mistake in one of the comments.
      
      2004-05-10  Robert Dewar  <dewar@gnat.com>
      
      	* gnat_ugn.texi: Document that for config pragma files, the maximum
      	line length is always 32767.
      
      	* gnat_rm.texi: For pragma Eliminate, note that concatenation of string
      	literals is now allowed.
      
      	* gnat-style.texi: Remove statement about splitting long lines before
      	an operator rather than after, since we do not follow this rule at all.
      	Clarify rule (really lack of rule) for spaces around exponentiation
      
      	* sem_elim.adb: Allow concatenation of string literals as well as a
      	single string literal for pragma arguments.
      
      	* sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function
      
      	* a-textio.adb (Terminate_Line): Do not add line feed if nothing
      	written for append case.
      
      	* frontend.adb: Changes to avoid checking max line length in config
      	pragma files.
      
      	* g-os_lib.ads: Minor reformatting
      
      	* mlib-utl.adb: Do not define Max_Line_Length locally (definition was
      	wrong in any case. Instead use standard value. Noticed during code
      	reading.
      
      	* opt.ads (Max_Line_Length): New field, used to implement removal of
      	limitation on length of lines when scanning config pragma files.
      
      	* osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb,
      	makeutl.ads, makeutl.adb: Minor reformatting
      
      	* scn.adb: Do not check line length while scanning config pragma files
      	Do not check line length while scanning out license information
      
      	* scng.adb: Changes to avoid line length checks while parsing config
      	pragma files.
      
      2004-05-10  GNAT Script  <nobody@gnat.com>
      
      	* Make-lang.in: Makefile automatically updated
      
      From-SVN: r81671
      5950a3ac
    • Andrew Pinski's avatar
      parse.y (check_pkg_class_access): Add new argument and use it when cl is NULL... · 7cef5027
      Andrew Pinski authored
      parse.y (check_pkg_class_access): Add new argument and use it when cl is NULL to call lookup_cl on it.
      
      2004-05-10  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * parse.y (check_pkg_class_access): Add new argument
              and use it when cl is NULL to call lookup_cl on it.
              (parser_check_super_interface): Do not call lookup_cl.
              Pass this_decl to check_pkg_class_access and NULL
              instead of lookup_cl.
              (parser_check_super): Update for change in
              check_pkg_class_access.
              (do_resolve_class): Likewise.
              (process_imports): Likewise.
              (find_in_imports_on_demand): Likewise.
              (resolve_qualified_expression_name): Likewise.
      
      From-SVN: r81668
      7cef5027
    • Ranjit Mathew's avatar
      jacks.xfail: Update to reflect current reality. · 731d47a6
      Ranjit Mathew authored
      	* testsuite/libjava.jacks/jacks.xfail: Update to reflect current
      	reality.
      
      From-SVN: r81667
      731d47a6
    • Alan Modra's avatar
      rs6000.c (function_arg_boundary): Always align AltiVec vectors. · b2d04ecf
      Alan Modra authored
      	* config/rs6000/rs6000.c (function_arg_boundary): Always align
      	AltiVec vectors.
      	(function_arg_advance): Pass TARGET_32BIT -mabi=no-altivec AltiVec
      	vectors by refererence.  Align the same for TARGET_64BIT to a 16
      	byte boundary.  Remove useless code.  Add function comment.
      	(function_arg): Similarly.  Move gpr rs6000_mixed_function_arg
      	call to where it belongs.
      	(function_arg_partial_nregs): Return true for all TARGET_32BIT
      	-mabi=no-altivec AltiVec vectors.  Fix debug output.
      	(rs6000_va_arg): Adjust for AltiVec change.
      
      From-SVN: r81666
      b2d04ecf
    • Paul Brook's avatar
      arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED. · b6685939
      Paul Brook authored
      	* config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED.
      	* config/arm/arm.h (TARGET_AAPCS_BASED): Define.
      	(TARGET_DOUBLEWORD_ALIGN): Use it.
      	(WCHAR_TYPE): Define.
      	(WCHAR_SIZE_TYPE): Define.
      	(SIZE_TYPE): Define.
      
      From-SVN: r81665
      b6685939
    • GCC Administrator's avatar
      Daily bump. · 10f4ab75
      GCC Administrator authored
      From-SVN: r81662
      10f4ab75
  5. May 09, 2004
    • Alan Modra's avatar
      rs6000.c (function_arg_boundary): Align for ABI_V4 when size is 8 bytes. · 4ed78545
      Alan Modra authored
      	* config/rs6000/rs6000.c (function_arg_boundary): Align for ABI_V4
      	when size is 8 bytes.
      	(function_arg_advance): Account for stack space used by AltiVec
      	args when -mabi=altivec.  Simplify alignment calculations.  For
      	ABI_V4, pass AltiVec vectors by reference when -mabi=no-altivec.
      	(function_arg): Similarly.
      	(function_arg_pass_by_reference): True for ABI_V4 AltiVec when
      	not AltiVec ABI.
      	(rs6000_va_arg): Correct fp arg test.  Adjust for AltiVec change.
      	Correct alignment, and align before testing reg count.  Remove
      	TREE_THIS_VOLATILE from reg.  Don't emit unused labels.
      	(rs6000_complex_function_value): Check TARGET_HARD_FLOAT and
      	TARGET_FPRS here..
      	(rs6000_function_value): .. not here before call.
      
      From-SVN: r81659
      4ed78545
    • Aldy Hernandez's avatar
      * config/rs6000/spe.md ("tstsflt_gpr"): Fix typo in unspec. · f350ff00
      Aldy Hernandez authored
      From-SVN: r81656
      f350ff00
    • Zack Weinberg's avatar
      re PR c/15007 (crash when including precompiled header with -include) · eecec698
      Zack Weinberg authored
      	PR 15007
      	* c-decl.c (current_file_decl): Rename to all_translation_units,
      	adjust comment.
      	(pop_scope): If popping file_scope, construct a
      	TRANSLATION_UNIT_DECL and make it the context of all the
      	symbols in the scope.
      	(push_file_scope): Don't construct a TRANSLATION_UNIT_DECL here.
      	(pushdecl): Clarify comment.  Do not set DECL_CONTEXT of
      	anything to current_file_decl.
      	(pushdecl_top_level): Likewise.
      	(store_parm_decls_newstyle): Adjust check for nested function.
      	(c_write_global_declarations): Update for renamed variable.
      
      From-SVN: r81655
      eecec698
    • Richard Sandiford's avatar
      * Makefile.in (toolexecdir): Remove trailing space. · eb01299a
      Richard Sandiford authored
      From-SVN: r81654
      eb01299a
Loading