aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-06-04system.h: Do not poison TDESC_SECTION_ASM_OP, RDATA_SECTION_ASM_OP and ↵Andreas Jaeger2-2/+6
SUBTARGET_PROLOGUE. * system.h: Do not poison TDESC_SECTION_ASM_OP, RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE. From-SVN: r67435
2003-06-04final.c (asm_fprintf): Update comments...Kaveh R. Ghazi2-19/+36
* final.c (asm_fprintf): Update comments, accept "-+ #0" flags, optimize '%' case, handle %c, don't accept %p, %e, %f or %g, handle %ll, optimize regular character case. From-SVN: r67434
2003-06-04Makefile.in (cse.o): Add params.h dependency.Zdenek Dvorak4-7/+27
* Makefile.in (cse.o): Add params.h dependency. * cse.c: Include params.h. (PATHLENGTH): Removed. (struct cse_basic_block_data): Make path array dynamic. (cse_end_of_basic_block): Use PARAM_MAX_CSE_PATH_LENGTH instead of PATHLENGTH. (cse_main, cse_basic_block): Allocate path array. * params.def (PARAM_MAX_CSE_PATH_LENGTH): New. From-SVN: r67433
2003-06-04i386.c (ix86_reorg): Replace the jump instead of adding nop.Jan Hubicka3-8/+34
* i386.c (ix86_reorg): Replace the jump instead of adding nop. * i386.md (UNSPEC_REP): New constant. (return_internal_long): New pattern. From-SVN: r67432
2003-06-04re PR rtl-optimization/11018 ([SPARC] -mcpu=ultrasparc busts tar-1.13.25)Eric Botcazou4-2/+58
PR optimization/11018 * config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative consistently to decide whether the scratch register is really required. From-SVN: r67429
2003-06-04re PR rtl-optimization/10876 (Segfault when compiling KDE 3.1.2)Eric Botcazou7-83/+94
PR optimization/10876 * config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add new 'O' constraint for constant 4096. (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. * config/sparc/sparc.md (adddi3 expander): Canonicalize pattern. Do not transform into MINUS insn for constant 4096. (*adddi3_sp64 insn): Canonicalize pattern. Add new alternative for constant 4096 as third operand. (addsi3 expander): Remove. (*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add new alternative for constant 4096 as third operand. (subdi3 expander): Do not transform into PLUS insn for constant 4096. (*subdi3_sp64 insn): Add new alternative for constant 4096 as third operand. (subsi3 expander): Remove. (*subsi3 insn): Rename into 'subsi3'. Add new alternative for constant 4096 as third operand. * doc/md.texi (Machine Constraints): Document new 'O' constraint for the SPARC port. From-SVN: r67426
2003-06-04* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback):Remove usage ofAndreas Jaeger2-5/+3
CRT_GET_RFIB_TEXT. From-SVN: r67425
2003-06-03t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.Chris Demetriou2-0/+5
2003-06-03 Chris Demetriou <cgd@broadcom.com> * config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define. From-SVN: r67424
2003-06-04uwin.h: Remove SUBTARGET_PROLOGUE.Andreas Jaeger12-237/+69
* 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
2003-06-04* collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.Andreas Jaeger2-8/+2
From-SVN: r67422
2003-06-04fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.Andreas Jaeger2-29/+8
* 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
2003-06-04g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.Andreas Jaeger4-8/+9
* g77spec.c (lang_specific_driver): Remove ALT_LIBM usage. * g++spec.c (lang_specific_driver): Remove ALT_LIBM usage. From-SVN: r67419
2003-06-04optabs.c (expand_binop): Optimize complex multiplication for the case of ↵Roger Sayle2-2/+12
squaring a complex argument. * optabs.c (expand_binop): Optimize complex multiplication for the case of squaring a complex argument. From-SVN: r67418
2003-06-04optabs.c (expand_binop): Attempt to reuse pseudos for duplicate non-volatile ↵Roger Sayle2-4/+28
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
2003-06-04varasm.c (force_const_mem): Handle alignment of constants not representable ↵Roger Sayle2-2/+10
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
2003-06-04forgot to commit.Aldy Hernandez1-0/+5
From-SVN: r67415
2003-06-04cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.Jason Merrill3-4/+15
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
2003-06-04Daily bump.GCC Administrator2-2/+2
From-SVN: r67412
2003-06-03flow.c (initialize_uninitialized_subregs): Use emit_move_insn instead of ↵Kazu Hirata2-2/+10
emitting a hardcoded move. * flow.c (initialize_uninitialized_subregs): Use emit_move_insn instead of emitting a hardcoded move. From-SVN: r67409
2003-06-03* gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.Glen Nakamura2-3/+7
From-SVN: r67407
2003-06-03re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))Olivier Hainque1-0/+8
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
2003-06-03re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))Olivier Hainque1-4/+1
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
2003-06-03optabs.c (expand_abs_nojump): Split out from ...Richard Henderson5-7/+33
* 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
2003-06-04* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.Alan Modra2-1/+7
From-SVN: r67403
2003-06-03Makefile.tpl: Make 'recursive targets' using autogen rather than shell loop.Nathanael Nerode6-667/+16693
* 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
2003-06-03config.gcc (default_use_cxa_atexit): New variable, defaults to no.Jason Thorpe4-279/+307
* 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
2003-06-03Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.Douglas Rupp1-3/+3
* 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
2003-06-03*** empty log message ***Douglas B Rupp4-228/+7
From-SVN: r67399
2003-06-03* g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.J"orn Rennecke2-1/+8
From-SVN: r67398
2003-06-03builtin-noret-1.c (_exit, _Exit): Make weak.Joern Rennecke1-0/+5
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak. * gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise. From-SVN: r67397
2003-06-03configure.in (inhibit_libc): Don't define when configuring with ↵J"orn Rennecke4-46/+49
--with-newlib --with-headers. * 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
2003-06-03asprintf.c: Change comment to note that -1 is returned upon error.Nick Clifton4-7/+15
vasprintf.c: Likewise. (vasprintf): Return -1 upon error. functions.texi: Document changes to asprintf and vasprintf. From-SVN: r67395
2003-06-03fstream.tcc (pbackfail): Make a rarely taken 'if' branch less obscure.Benjamin Kosnik2-3/+12
2003-06-03 Benjamin Kosnik <bkoz@redhat.com> * include/bits/fstream.tcc (pbackfail): Make a rarely taken 'if' branch less obscure. From-SVN: r67394
2003-06-03configure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 ↵Rainer Orth3-17/+23
without GNU ld. * configure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 without GNU ld. * configure: Regenerate. From-SVN: r67390
2003-06-03expr.c (emit_move_insn_1): Use emit_move_insn to move the parts of a complex ↵Roger Sayle2-16/+15
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
2003-06-03combine.c (simplify_set): Don't move a subreg in SET_SRC to SET_DEST if...Kazu Hirata2-10/+13
* 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
2003-06-03builtin-noret-1.c (_exit, _Exit): Make weak.Joern Rennecke2-0/+17
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak. * gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise. From-SVN: r67387
2003-06-03* MAINTAINERS: "GNATS only" -> "Bug database only".Nathanael Nerode2-1/+3
From-SVN: r67382
2003-06-03x86-64.h: Remove two target-independent comments; replace "GNU CC" with "GCC".Nathanael Nerode2-14/+10
* config/i386/x86-64.h: Remove two target-independent comments; replace "GNU CC" with "GCC". From-SVN: r67381
2003-06-03Makefile.tpl: Rename [+target+] to [+make_target+].Nathanael Nerode3-14/+19
* Makefile.tpl: Rename [+target+] to [+make_target+]. * Makefile.def: Rename 'target' to 'make_target'. From-SVN: r67380
2003-06-03x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to ↵Andrew Haley2-11/+16
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
2003-06-03Commit patch that was approved last october. Oops.Anthony Green2-1/+5
From-SVN: r67375
2003-06-03simd-5.x: Remove xfail for PPC64.Aldy Hernandez2-11/+4
2003-06-03 Aldy Hernandez <aldyh@redhat.com> * testsuite/gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64. From-SVN: r67374
2003-06-03re PR c++/10940 (Bad code with explicit specialization)Kriang Lerdsuwanakij4-10/+50
PR c++/10940 * pt.c (check_explicit_specialization): Check for 'static' earlier. * g++.dg/template/spec10.C: New test. From-SVN: r67373
2003-06-03builtins.def (BUILT_IN_CABS, [...]): New builtins representing ISO C99's ↵Roger Sayle6-4/+134
cabs, cabsf and cabsl. * 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
2003-06-03function.c (assign_parms): Split complex arguments.Aldy Hernandez8-8/+259
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
2003-06-03configure.in (HAVE_LD_PIE): Check for ld -pie.Jakub Jelinek41-90/+251
* 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
2003-06-03builtins.c (expand_builtin_memcpy): Remove endp argument and endp != 0 handling.Jakub Jelinek10-92/+412
* 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
2003-06-03* doc/md.texi (Processor pipeline description): Improve wording.Ben Elliston2-17/+21
From-SVN: r67355
2003-06-03c-opts.c (c_common_handle_option): New, pulled out of c_common_decode_option.Neil Booth2-16/+35
* 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