- 04 Jun, 2003 10 commits
-
-
* config/i386/uwin.h: Remove SUBTARGET_PROLOGUE. * config/i386/i386.c (ix86_expand_prologue): Do not use SUBTARGET_PROLOGUE. * system.h: Poision SUBTARGET_PROLOGUE. * config/arm/arm-protos.h: Remove unused rdate_section prototype. * output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP dependend code. * system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP. * system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. * libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed. (__clear_cache): Remove code dependend on INSN_CACHE_DEPTH, INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. * doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH, INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH. * dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM. (dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL. (dbxout_block): Remove usage of DBX_OUTPUT_CATCH. (dbxout_block): Remove usage of DBX_LBRAC_FIRST. (dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME. (dbxout_init): Remove test for DBX_WORKING_DIRECTORY. * doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST, DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and DBX_WORKING_DIRECTORY. * system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM, DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY. * config/frv/frv-protos.h: Remove unused const_section declaration. * config/vax/vax-protos.h: Likewise. * output.h: Remove CONST_SECTION_ASM_OP usage. * system.h: Poison CONST_SECTION_ASM_OP. * crtstuff.c (__do_global_dtors_aux): Remove usage of CRT_GET_RFIB_TEXT (frame_dummy): Likewise. * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise. * system.h: Poison CRT_GET_RFIB_TEXT. From-SVN: r67423
Andreas Jaeger committed -
From-SVN: r67422
Andreas Jaeger committed -
* fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables. (write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code. (recognized_function): Likewise. (read_scan_file): Likewise. From-SVN: r67421
Andreas Jaeger committed -
* g77spec.c (lang_specific_driver): Remove ALT_LIBM usage. * g++spec.c (lang_specific_driver): Remove ALT_LIBM usage. From-SVN: r67419
Andreas Jaeger committed -
optabs.c (expand_binop): Optimize complex multiplication for the case of squaring a complex argument. * optabs.c (expand_binop): Optimize complex multiplication for the case of squaring a complex argument. From-SVN: r67418
Roger Sayle committed -
optabs.c (expand_binop): Attempt to reuse pseudos for duplicate non-volatile operands of binary operations. * optabs.c (expand_binop): Attempt to reuse pseudos for duplicate non-volatile operands of binary operations. (prepare_cmp_insn): Likewise. From-SVN: r67417
Roger Sayle committed -
varasm.c (force_const_mem): Handle alignment of constants not representable as a type in the front-end language. * varasm.c (force_const_mem): Handle alignment of constants not representable as a type in the front-end language. From-SVN: r67416
Roger Sayle committed -
From-SVN: r67415
Aldy Hernandez committed -
2003-06-03 Jason Merrill <jason@redhat.com> * cp/cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors. * cp/decl.c (reshape_init): Handle vectors. * testsuite/g++.dg/init/array10.C: New. From-SVN: r67414
Jason Merrill committed -
From-SVN: r67412
GCC Administrator committed
-
- 03 Jun, 2003 30 commits
-
-
* flow.c (initialize_uninitialized_subregs): Use emit_move_insn instead of emitting a hardcoded move. From-SVN: r67409
Kazu Hirata committed -
From-SVN: r67407
Glen Nakamura committed -
PR ada/9953: * 5hsystem.ads: Remove pragma Linker_Option for pthreads library, and turn ZCX_By_Default back to False since the underlying support is not quite there yet. From-SVN: r67406
Olivier Hainque committed -
2003-06-04 Olivier Hainque <hainque@act-europe.fr> PR ada/9953: * 5hsystem.ads: Remove pragma Linker_Option for pthreads library, and turn ZCX_By_Default back to False, since the underlying support is not quite there yet. From-SVN: r67405
Olivier Hainque committed -
* optabs.c (expand_abs_nojump): Split out from ... (expand_abs): ... here. * optabs.h (expand_abs_nojump): Declare. * ifcvt.c: (noce_try_abs): Use expand_abs_nojump. * Makefile.in (ifcvt.o): Depend on optabs.h. From-SVN: r67404
Richard Henderson committed -
From-SVN: r67403
Alan Modra committed -
* Makefile.tpl: Make 'recursive targets' using autogen rather than shell loop. Remove duplicate 'clean' targets and false comments. * Makefile.def: Add systematic dependencies to 'recursive' targets. Add systematic method of specifying missing targets in subdirs. Add copyright boilerplate. * Makefile.in: Regenerate. * configure.in: Add 'recursive targets' to maybe list. * configure: Regenerate. From-SVN: r67402
Nathanael Nerode committed -
* config.gcc (default_use_cxa_atexit): New variable, defaults to no. (*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit to yes. * configure.in: Allow default_use_cxa_atexit to determine the value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or disabled. * configure: Regenerate. From-SVN: r67401
Jason Thorpe committed -
* Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry. * doc/gcc.texi: Remove vms.texi section. * doc/vms.texi: Remove obsolete file. From-SVN: r67400
Douglas Rupp committed -
From-SVN: r67399
Douglas B Rupp committed -
From-SVN: r67398
J"orn Rennecke committed -
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak. * gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise. From-SVN: r67397
Joern Rennecke committed -
* configure.in (inhibit_libc): Don't define when configuring with --with-newlib --with-headers. * configure: Regenerate. * t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules. From-SVN: r67396
J"orn Rennecke committed -
vasprintf.c: Likewise. (vasprintf): Return -1 upon error. functions.texi: Document changes to asprintf and vasprintf. From-SVN: r67395
Nick Clifton committed -
2003-06-03 Benjamin Kosnik <bkoz@redhat.com> * include/bits/fstream.tcc (pbackfail): Make a rarely taken 'if' branch less obscure. From-SVN: r67394
Benjamin Kosnik committed -
* configure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 without GNU ld. * configure: Regenerate. From-SVN: r67390
Rainer Orth committed -
expr.c (emit_move_insn_1): Use emit_move_insn to move the parts of a complex number rather than invoke... * expr.c (emit_move_insn_1): Use emit_move_insn to move the parts of a complex number rather than invoke mov_optab directly. From-SVN: r67389
Roger Sayle committed -
* combine.c (simplify_set): Don't move a subreg in SET_SRC to SET_DEST if WORD_REGISTER_OPERATIONS is not defined. From-SVN: r67388
Kazu Hirata committed -
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak. * gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise. From-SVN: r67387
Joern Rennecke committed -
From-SVN: r67382
Nathanael Nerode committed -
* config/i386/x86-64.h: Remove two target-independent comments; replace "GNU CC" with "GCC". From-SVN: r67381
Nathanael Nerode committed -
* 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 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 -
From-SVN: r67375
Anthony Green committed -
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 -
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, 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 -
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. * 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. 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
-