1. 03 Jun, 2003 13 commits
    • Makefile.tpl: Rename [+target+] to [+make_target+]. · 1a1e6b96
      	* Makefile.tpl: Rename [+target+] to [+make_target+].
      	* Makefile.def: Rename 'target' to 'make_target'.
      
      From-SVN: r67380
      Nathanael Nerode committed
    • x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent… · 9f470313
      x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent optimization from removing it.
      
      2003-06-03  Andrew Haley  <aph@redhat.com>
      
              * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
              stack volatile to prevent optimization from removing it.
      
      From-SVN: r67379
      Andrew Haley committed
    • Commit patch that was approved last october. Oops. · b09d2739
      From-SVN: r67375
      Anthony Green committed
    • simd-5.x: Remove xfail for PPC64. · 284ca13e
      2003-06-03  Aldy Hernandez  <aldyh@redhat.com>
      
              * testsuite/gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64.
      
      From-SVN: r67374
      Aldy Hernandez committed
    • re PR c++/10940 (Bad code with explicit specialization) · 6c07f448
      	PR c++/10940
      	* pt.c (check_explicit_specialization): Check for 'static'
      	earlier.
      
      	* g++.dg/template/spec10.C: New test.
      
      From-SVN: r67373
      Kriang Lerdsuwanakij committed
    • builtins.def (BUILT_IN_CABS, [...]): New builtins representing ISO C99's cabs, cabsf and cabsl. · 075ec276
      
      	* builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
      	New builtins representing ISO C99's cabs, cabsf and cabsl.
      	* builtins.c (expand_builtin_fabs): New function.
      	(expand_builtin_cabs): New function.
      	(expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L}
      	using expand_builtin_fabs and expand_builtin_cabs respectively.
      
      	* doc/extend.texi: Document new cabs, cabsf and cabsl builtins.
      
      	* gcc.dg/builtins-16.c: New test case.
      
      From-SVN: r67368
      Roger Sayle committed
    • function.c (assign_parms): Split complex arguments. · ded9bf77
      2003-06-03  Aldy Hernandez  <aldyh@redhat.com>
      
              * function.c (assign_parms): Split complex arguments.
      
              * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document.
      
              * expr.h (SPLIT_COMPLEX_ARGS): Define.
              (split_complex_types): Protoize.
              (split_complex_values): Protoize.
      
              * calls.c (expand_call): Split complex arguments on architectures
              that require it.
              (split_complex_values): New.
              (split_complex_types): New.
      
              * config/rs6000/rs6000.c (rs6000_libcall_value): New.
              (rs6000_function_value): Handle complex values on AIX.
              (rs6000_complex_function_value): New.
      
              * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize.
      
              * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function.
              (SPLIT_COMPLEX_ARGS): New.
      
      From-SVN: r67367
      Aldy Hernandez committed
    • configure.in (HAVE_LD_PIE): Check for ld -pie. · 24a4dd31
      	* configure.in (HAVE_LD_PIE): Check for ld -pie.
      	* config.in: Rebuilt.
      	* configure: Rebuilt.
      	* toplev.c (flag_pie, flag_shlib): New variables.
      	(f_options): Add -fpie and -fPIE.
      	(parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE.
      	Set flag_shlib if flag_pic and not -fpie/-fPIE.
      	* flags.h (flag_pic, flag_shlib): Add.
      	* varasm.c (default_binds_local_p): Use flag_shlib instead of
      	flag_pic.
      	* gcc.c (LINK_PIE_SPEC): Define.
      	(LINK_COMMAND_SPEC): Use LINK_PIE_SPEC.
      	(option_map): Add --pie -> -pie mapping.
      	* config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic
      	and -fPIE the same way as -fPIC.
      	* config/openbsd.h (ASM_SPEC): Likewise.
      	* config/frv/frv.h (ASM_SPEC): Likewise.
      	* config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise.
      	* config/arm/semi.h (ASM_SPEC): Likewise.
      	* config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
      	* config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise.
      	* config/i386/beos-elf.h (CC1_SPEC): Likewise.
      	* config/i386/freebsd-aout.h (ASM_SPEC): Likewise.
      	* config/m68k/linux.h (CPP_SPEC): Likewise.
      	* config/m68k/netbsd.h (ASM_SPEC): Likewise.
      	* config/m68k/openbsd.h (ASM_SPEC): Likewise.
      	* config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
      	* config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise.
      	* config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise.
      	* config/pa/pa-linux.h (CPP_SPEC): Likewise.
      	* config/netbsd-aout.h (ASM_SPEC): Likewise.
      	* config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise.
      	* config/rs6000/vxworks.h (CPP_SPEC): Likewise.
      	* config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
      	* config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
      	* config/sparc/sparc.h (ASM_SPEC): Likewise.
      	* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
      	* config/sparc/sysv4.h (ASM_SPEC): Likewise.
      	* config/sparc/netbsd-elf.h (ASM_SPEC): Likewise.
      	* config/sparc/openbsd64.h (ASM_SPEC): Likewise.
      	* config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise.
      	* config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie.
      	Simplify.
      	* config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
      	* doc/invoke.texi: Document -pie, -fpie and -fPIE options.
      
      From-SVN: r67359
      Jakub Jelinek committed
    • builtins.c (expand_builtin_memcpy): Remove endp argument and endp != 0 handling. · 8fd3cf4e
      	* builtins.c (expand_builtin_memcpy): Remove endp argument and endp
      	!= 0 handling.  Pass 0 to store_by_pieces.
      	(expand_builtin_mempcpy): Add endp argument.  Don't call
      	expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces
      	directly.  If ignoring result, only do expand_call.
      	(expand_builtin_stpcpy): Likewise.  Call expand_builtin_mempcpy
      	otherwise.
      	(expand_builtin_strncpy, expand_builtin_memset): Adjust
      	store_by_pices callers.
      	(expand_builtin): Adjust expand_builtin_memcpy and
      	expand_builtin_mempcpy callers.
      	* expr.c (can_move_by_pieces): New function.
      	(move_by_pieces): Add endp argument, return to resp. memory at end
      	or one byte earlier depending on endp.
      	(store_by_pieces): Likewise.
      	(emit_block_move): Adjust call to move_by_pieces.
      	(emit_push_insn): Adjust move_by_pieces caller.
      	* expr.h (can_move_by_pieces): New prototype.
      	(store_by_pieces): Adjust prototypes.
      	* rtl.h (move_by_pieces): Adjust prototype.
      	* config/mips/mips.c (expand_block_move): Adjust move_by_pieces
      	caller.
      
      	* gcc.c-torture/execute/builtins/string-4.c (main_test): Remove
      	mempcpy test with post-increments.
      	* gcc.c-torture/execute/string-opt-3.c: New test.
      	* gcc.dg/string-opt-1.c: New test.
      
      From-SVN: r67358
      Jakub Jelinek committed
    • c-opts.c (c_common_handle_option): New, pulled out of c_common_decode_option. · f75d3e11
      	* c-opts.c (c_common_handle_option): New, pulled out of
      	c_common_decode_option.  Substitute uses of argv.
      	(c_common_decode_option): Broken into two.
      
      From-SVN: r67354
      Neil Booth committed
    • Daily bump. · 9c68a546
      From-SVN: r67351
      GCC Administrator committed
    • re PR fortran/10965 (g77 compiles illegal code in testsuite) · b5706132
      2003-06-03  David Billinghurst (David.Billinghurst@riotinto.com)
      
      	PR fortran/10965
      	* g77.f-torture/compile/20000601-2.f: Fix non-standard code.
      
      From-SVN: r67349
      David Billinghurst committed
  2. 02 Jun, 2003 22 commits
  3. 01 Jun, 2003 5 commits