summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* final.c (HAVE_READONLY_DATA_SECTION): New.Richard Henderson2002-05-1870-850/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * final.c (HAVE_READONLY_DATA_SECTION): New. (shorten_branches): Use it instead of ifdefs. * varasm.c (enum in_section): Add in_readonly_data. (text_section, data_section): Tidy. (readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present. * config/darwin.h, config/nextstep.h, config/h8300/elf.h, config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h (READONLY_DATA_SECTION): Don't undef. * config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h, config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h, config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef. * config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h, config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h, config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h, config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove. * config/elfos.h, config/netware.h, config/alpha/alpha-interix.h, config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h, config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h, config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h, config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h, config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP. * config/elfos.h, config/netware.h, config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h, config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h, config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h, config/pa/pa64-hpux.h, config/sparc/litecoff.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove. * config/elfos.h, config/netware.h, config/svr3.h, config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h, config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/h8300/h8300.h, config/i386/i386-interix.h, config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h, config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove. * config/elfos.h, config/netware.h, config/svr3.h, config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h, config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h, config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h, config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove. * config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h, config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h, config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h, config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h, config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h, config/rs6000/sysv4.h, config/v850/v850.h (EXTRA_SECTIONS): Remove in_const/in_rdata. (EXTRA_SECTION_FUNCTIONS): Remove accompanying function. * config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h, config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h, config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h, config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section. * config/alpha/alpha.c (alpha_start_function): Likewise. (alpha_write_linkage): Likewise. * config/m32r/m32r.c (m32r_select_section): Likewise. * config/m88k/m88k.c (m88k_select_section): Likewise. * config/mips/mips.c (mips_select_rtx_section): Likewise. * config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise. (rs6000_elf_select_section): Likewise. * config/v850/v850.c (v850_select_section): Likewise. * config/1750a/1750a.h, config/i860/sysv3.h (READONLY_DATA_SECTION_ASM_OP): New. READONLY_DATA_SECTION_ASM_OP. * config/i386/interix.c, config/i386/winnt.c (i386_pe_unique_section): Always use .rdata prefix. * config/pa/som.h (readonly_data): Always switch to read-only section. (READONLY_DATA_SECTION): Predicate on flag_pic. * config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis. * doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New. (READONLY_DATA_SECTION): Update. From-SVN: r53593
* c-common.c (c_common_post_options): Warn if -Wformat-zero-length is used ↵Jason Thorpe2002-05-187-5/+52
| | | | | | | | | | | | | | | | | | without -Wformat. * c-common.c (c_common_post_options): Warn if -Wformat-zero-length is used without -Wformat. * c-common.h (warn_format_zero_length): Declare extern. * c-decl.c (warn_options): Add "format-zero-length". * c-format.c (warn_format_zero_length): Declare. (set_Wformat): Set warn_format_zero_length for -Wformat. (check_format_info): Only warn about zero-length formats if warn_format_zero_length is true. Include the format type name in the warning message. * doc/invoke.texi: Document -Wformat-zero-length. * testsuite/gcc.dg/format/zero-length-1.c: New test. From-SVN: r53592
* timevar.c: Fix formatting.Kazu Hirata2002-05-186-81/+89
| | | | | | | | | | * timevar.c: Fix formatting. * tlink.c: Likewise. * toplev.c: Likewise. * tree-dump.c: Likewise. * tree-inline.c: Likewise. From-SVN: r53591
* re PR libstdc++/6503 ((Deque) Iterators are not typesafe)Paolo Carlini2002-05-183-10/+173
| | | | | | | | | | | | | 2002-05-18 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/6503 * include/bits/stl_deque.h (_Deque_iterator::operator==, operator!=, operator<, operator>, operator>=, operator<=): Make non-member functions, to allow comparing const and non-const iterators in any order. * testsuite/23_containers/deque_operators.cc: New testfile. From-SVN: r53590
* fix typoJason Merrill2002-05-181-1/+1
| | | | From-SVN: r53589
* cppinit.c (cpp_post_options): If preprocessed, turn off traditional.Neil Booth2002-05-184-22/+39
| | | | | | | | | | * cppinit.c (cpp_post_options): If preprocessed, turn off traditional. If traditional, turn off column numbers. * cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional. * cpptrad.c (handle_newline): Update line_base. (skip_comment): Handle -Wcomment. From-SVN: r53582
* Daily bump.GCC Administrator2002-05-186-6/+6
| | | | From-SVN: r53581
* decl2.c (import_export_decl): If we clear DECL_NOT_REALLY_EXTERN, make sure ↵Jason Merrill2002-05-182-1/+12
| | | | | | | | | DECL_EXTERNAL is set. * decl2.c (import_export_decl): If we clear DECL_NOT_REALLY_EXTERN, make sure DECL_EXTERNAL is set. From-SVN: r53576
* cppinit.c (struct builtin): Remove unused fields.Zack Weinberg2002-05-182-60/+53
| | | | | | | | | * cppinit.c (struct builtin): Remove unused fields. (CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill. (operator_array): New - was second half of builtin_array. (init_builtins): Simplify loop over builtin_array/operator_array. From-SVN: r53574
* defaults.h (UNIQUE_SECTION): Remove.Neil Booth2002-05-173-23/+6
| | | | | | | * defaults.h (UNIQUE_SECTION): Remove. * system.h (UNIQUE_SECTION, SELECT_SECTION): Poison. From-SVN: r53573
* expr.c (init_expr_once): Don't use start/end_sequence.Richard Henderson2002-05-173-7/+11
| | | | | | | | | * expr.c (init_expr_once): Don't use start/end_sequence. Use rtx_alloc instead of emit_insn. * toplev.c (lang_dependent_init): Run init_expr_once here ... (lang_independent_init): ... not here. From-SVN: r53572
* * config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.Jason Thorpe2002-05-172-7/+7
| | | | From-SVN: r53570
* avr.c (avr_regs_to_save): New function.Marek Michalkiewicz2002-05-172-46/+58
| | | | | | | | | * config/avr/avr.c (avr_regs_to_save): New function. Also check for fixed registers, possibly used for global register variables. (initial_elimination_offset, avr_output_function_prologue, avr_output_function_epilogue): Move common code to avr_regs_to_save. From-SVN: r53569
* Makefile.in: Update for cpptrad.c.Neil Booth2002-05-177-28/+413
| | | | | | | | | | | | | | | | | | | | * Makefile.in: Update for cpptrad.c. * cpphash.h (struct cpp_buffer): New members for buffer overlays. (struct cpp_reader): New members for traditional output. (_cpp_read_logical_line, _cpp_overlay_buffer): New. * cppinit.c (cpp_create_reader): Set trad_line. (cpp_destroy): Free trad_out_base if used. (cpp_read_main_file): Overlay an empty buffer if traditional. (cpp_finish_options): Don't do builtins. (COMMAND_LINE_OPTIONS): Add -traditional-cpp. (cpp_handle_option): Handle it. * cpplex.c (continue_after_nul): New. (_cpp_lex_direct): Use handle_nul. * cpplib.h (struct cpp_options): New traditional option. * cpptrad.c: New file. From-SVN: r53568
* c-common.c (c_common_init_options): Use C89 for Objective-C, and set the ↵Neil Booth2002-05-174-29/+30
| | | | | | | | | | | | | | | | | options flag. * c-common.c (c_common_init_options): Use C89 for Objective-C, and set the options flag. * cppinit.c (lang_flags): Remove objc. (lang_defaults): Remove OBJC and OBJCXX. (set_lang): Update. (COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++. (cpp_handle_option): Remove -+ and -lang-objc++. For ObjC, just set a flag. (print_help): Update. * cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX. From-SVN: r53566
* install.texi (Specific, [...]): Document need to bootstrap with -mips3.Rainer Orth2002-05-172-0/+26
| | | | | | | * doc/install.texi (Specific, mips-sgi-irix6): Document need to bootstrap with -mips3. From-SVN: r53564
* final.c: Fix formatting.Kazu Hirata2002-05-176-103/+111
| | | | | | | | | | * final.c: Fix formatting. * fix-header.c: Likewise. * flow.c: Likewise. * fold-const.c: Likewise. * function.c: Likewise. From-SVN: r53563
* PR c/6689, PR optimization/6615David S. Miller2002-05-172-4/+13
| | | | | | | | | | | | | 2002-05-17 David S. Miller <davem@redhat.com> PR c/6689, PR optimization/6615 * local-alloc.c (struct equivalence): Rename 'src' to 'src_p' and make it a pointer to rtx. Update comments. (update_equiv_regs): When scanning for equivalences, record address of SET_SRC (set) in reg_equiv[].src_p. Dereference it while making the equiv replacements. From-SVN: r53561
* * config/sparc/sparc.c (sparc_aout_select_section): Fixed typo.Rainer Orth2002-05-172-1/+5
| | | | From-SVN: r53559
* sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P when encoding visibility ↵Kaz Kojima2002-05-172-0/+6
| | | | | | | | | into SYMBOL_REF_FLAG. * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P when encoding visibility into SYMBOL_REF_FLAG. From-SVN: r53558
* * expr.c (force_operand): Fix reversed move.Richard Sandiford2002-05-172-1/+5
| | | | From-SVN: r53556
* install.texi (Testing): Mention two common DejaGnu warnings that can be ignored.Gerald Pfeifer2002-05-172-0/+18
| | | | | | | | | | * doc/install.texi (Testing): Mention two common DejaGnu warnings that can be ignored. * doc/install.texi (Final install): Recommend to install into a "clean" target directory. From-SVN: r53552
* ia64.md: Use braced strings instead of quoted strings for code blocks.Richard Henderson2002-05-172-273/+206
| | | | | | | * config/ia64/ia64.md: Use braced strings instead of quoted strings for code blocks. Tidy whitespace. From-SVN: r53551
* hooks.c (hook_tree_bool_false): New.Richard Henderson2002-05-1776-1695/+1228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hooks.c (hook_tree_bool_false): New. * hooks.h: Declare it. * target-def.h (TARGET_ASM_SELECT_SECTION): New. (TARGET_ASM_UNIQUE_SECTION, TARGET_IN_SMALL_DATA_P): New. * target.h (select_section, unique_section): New. (in_small_data_p): New. * varasm.c (resolve_unique_section): Use hooks instead of macros. (variable_section, output_constant_def_contents): Likewise. (default_select_section, default_unique_section): New. (categorize_decl_for_section, default_elf_select_section): New. * output.h: Declare them. * config/darwin.h (ALIAS_SECTION, try_section_alias): Remove. (TARGET_ASM_SELECT_SECTION): New. (SELECT_SECTION): Move ... * config/darwin.c (machopic_select_section): ... here. * config/darwin-protos.h: Update. * config/nextstep.h (TARGET_ASM_SELECT_SECTION): New. (SELECT_SECTION): Move ... * config/nextstep.c (nextstep_select_section): ... here. * config/nextstep-protos.h: Update. * config/elfos.h (UNIQUE_SECTION, SELECT_SECTION): Remove. (TARGET_ASM_SELECT_SECTION): New. * config/svr3.h (SELECT_SECTION): Remove. * config/alpha/alpha.c (unicosmk_unique_section): Make static. (TARGET_ASM_UNIQUE_SECTION) [UNICOS]: New. (TARGET_IN_SMALL_DATA_P, alpha_in_small_data_p): New. (alpha_encode_section_info): Use it. * config/alpha/alpha-protos.h: Update. * config/alpha/elf.h (DO_SELECT_SECTION): Remove. (SELECT_SECTION, UNIQUE_SECTION): Remove. (TARGET_ASM_SELECT_SECTION): New. * config/alpha/unicosmk.h (UNIQUE_SECTION): Remove. * config/arm/pe.h (UNIQUE_SECTION): Remove. (TARGET_ASM_UNIQUE_SECTION): New. * config/avr/avr.c (TARGET_ASM_UNIQUE_SECTION): New. (avr_unique_section): Rename from unique_section; make static. * config/avr/avr-protos.h: Update. * config/avr/avr.h (UNIQUE_SECTION): Remove. * config/c4x/c4x.h (SELECT_SECTION): Remove. * config/i386/cygwin.h (UNIQUE_SECTION): Remove. (TARGET_ASM_UNIQUE_SECTION): New. * config/i386/i386-interix.h: Likewise. * config/i386/win32.h: Likewise. * config/i386/djgpp.h (UNIQUE_SECTION): Remove. * config/i386/i386.c (ix86_asm_file_end): Use target hook not macro. * config/i386/sco5.h (SELECT_SECTION): Remove. (TARGET_ASM_SELECT_SECTION): New. * config/i386/svr3gas.h (SELECT_SECTION): Remove. * config/i860/paragon.h: Undef TARGET_ASM_SELECT_SECTION instead of SELECT_SECTION. * config/m68k/dpx2.h: Likewise. * config/rs6000/lynx.h: Likewise. * config/ia64/aix.h (SELECT_SECTION, UNIQUE_SECTION): Remove. (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New. * config/ia64/ia64.c (TARGET_IN_SMALL_DATA_P): New. (ia64_in_small_data_p): New. (ia64_encode_section_info): Use it. Reorganize overlarge conditional. (ia64_aix_select_section, ia64_aix_unique_section): New. * config/ia64/sysv4.h (DO_SELECT_SECTION): Remove. (SELECT_SECTION, UNIQUE_SECTION): Remove. * config/m32r/m32r.h (SELECT_SECTION): Remove. (TARGET_ASM_SELECT_SECTION): New. * config/m32r/m32r.c (m32r_select_section): Take align argument. * config/m32r/m32r-protos.h: Update. * config/m88k/m88k.h (TARGET_ASM_SELECT_SECTION): New. (SELECT_SECTION): Move ... * config/m88k/m88k.c (m88k_select_section): ... here. * config/mcore/mcore-pe.h (SELECT_SECTION): Remove. * config/mcore/mcore.h (UNIQUE_SECTION): Remove. * config/mcore/mcore.c (TARGET_ASM_UNIQUE_SECTION): New. (mcore_unique_section): Make static. * config/mcore/mcore-protos.h: Update. * config/mips/elf.h (UNIQUE_SECTION): Remove. (TARGET_ASM_UNIQUE_SECTION): New. * config/mips/elf64.h: Likewise. * config/mips/iris6gld.h: Likewise. * config/mips/linux.h: Likewise. * config/mips/mips-protos.h: Update. * config/mips/mips.c (mips_select_section): Add align argument. * config/mips/mips.h (SELECT_SECTION): Remove. (TARGET_ASM_SELECT_SECTION): New. * config/mmix/mmix.h (SELECT_SECTION, UNIQUE_SECTION): Remove. * config/mmix/mmix.c (mmix_select_section): Remove. (mmix_unique_section): Remove. * config/mmix/mmix-protos.h: Update. * config/pa/pa.h (TARGET_ASM_SELECT_SECTION): New. (SELECT_SECTION): Move ... * config/pa/pa.c (pa_select_section): ... here. * config/pa/pa64-hpux.h (UNIQUE_SECTION): Remove. * config/rs6000/rs6000.c (rs6000_elf_select_section): Rename from rs6000_select_section and make static. (rs6000_elf_unique_section): Similarly. (rs6000_xcoff_select_section): From xcoff.h. (rs6000_xcoff_unique_section): Likewise. * config/rs6000/rs6000-protos.h: Update. * config/rs6000/sysv4.h (SELECT_SECTION, UNIQUE_SECTION): Remove. (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): New. * config/rs6000/xcoff.h: Likewise. * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): New. (SELECT_SECTION): Move ... * config/sparc/sparc.c (sparc_aout_select_section): ... here. * config/v850/v850.h (SELECT_SECTION): Move ... * config/v850/v850.c (v850_select_section): ... here. (TARGET_ASM_SELECT_SECTION): New. * config/vax/vms.h (SELECT_SECTION): Move ... * config/vax/vax.c (vms_select_section): ... here. (TARGET_ASM_SELECT_SECTION): New. * doc/tm.texi: Update SELECT_SECTION and UNIQUE_SECTION docs for the target hooks. From-SVN: r53550
* arm.c (emit_multi_reg_push): Do not set RTX_FRAME_RELATED_P on the SEQUENCE.Nick Clifton2002-05-172-1/+5
| | | | | | | * config/arm/arm.c (emit_multi_reg_push): Do not set RTX_FRAME_RELATED_P on the SEQUENCE. From-SVN: r53549
* Daily bump.GCC Administrator2002-05-176-6/+6
| | | | From-SVN: r53548
* ia64.c (ia64_reorg): Rebuild bb_for_insn before splitting.Richard Henderson2002-05-172-8/+14
| | | | | | | * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before splitting. Use split_all_insns; update_life_info_in_dirty_blocks. From-SVN: r53544
* * config/ia64/ia64.c (saveable_obstack): Do not declare.Richard Henderson2002-05-162-3/+2
| | | | From-SVN: r53541
* weak-3.c: Add dg-excess-error comment for cygwin, coff and h8300-*-hms targetsDavid Billinghurst2002-05-174-0/+10
| | | | | | | | | | | 2002-05-16 David.Billinghurst <David.Billinghurst@riotinto.com> * gcc.dg/weak-3.c: Add dg-excess-error comment for cygwin, coff and h8300-*-hms targets * gcc.dg/weak-5.c: Likewise * gcc.dg/weak-7.c: Likewise From-SVN: r53539
* * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.Richard Henderson2002-05-162-1/+5
| | | | From-SVN: r53538
* Revert "Basic block renumbering removal", and two followup patches.Richard Henderson2002-05-1645-1771/+1930
| | | | From-SVN: r53537
* * lcm.c (optimize_mode_switching): Revert previous change.Jason Thorpe2002-05-172-1/+5
| | | | From-SVN: r53536
* sched-rgn.c (schedule_insns): Initialize large_region_blocks with only ↵Zdenek Dvorak2002-05-162-1/+9
| | | | | | | | | extant block numbers. * sched-rgn.c (schedule_insns): Initialize large_region_blocks with only extant block numbers. From-SVN: r53535
* * lcm.c (optimize_mode_switching): Fix typo.Jason Thorpe2002-05-172-1/+5
| | | | From-SVN: r53534
* * flow.c (calculate_global_regs_live): Queue blocks in program order.Zdenek Dvorak2002-05-162-9/+11
| | | | From-SVN: r53533
* * doc/install.texi (Configuration): Document PWDCMD.Rainer Orth2002-05-162-0/+12
| | | | From-SVN: r53532
* Reenable combination of hard regs unless CLASS_LIKELY_SPILLED_P.Dale Johannesen2002-05-162-6/+13
| | | | From-SVN: r53531
* index.html: Update not-a-bug list with basic_file.h.Phil Edwards2002-05-163-67/+89
| | | | | | | | | 2002-05-16 Phil Edwards <pme@gcc.gnu.org> * docs/html/faq/index.html: Update not-a-bug list with basic_file.h. * docs/html/faq/index.txt: Regenerate. From-SVN: r53529
* * tradcpp.c (main): Accept -O*.Neil Booth2002-05-161-1/+2
| | | | From-SVN: r53527
* c-common.c (cb_register_builtins): Handle more built-ins here rather than in ↵Neil Booth2002-05-166-22/+54
| | | | | | | | | | | | | | | | | | | | gcc.c specs. * c-common.c (cb_register_builtins): Handle more built-ins here rather than in gcc.c specs. * gcc.c (cpp_unique_options): Move many built-ins to c-common.c. (cpp_options): Pass -O flags even when only preprocessing. * toplev.c (set_fast_math_flags): New prototype. (fast_math_flags_set_p): New. (set_no_fast_math_flags): Remove. (decode_f_option): Update. * toplev.h (set_fast_math_flags): Update. (fast_math_flags_set_p): New. (set_no_fast_math_flags): Remove. config: * c4x/c4x.c (c4x_override_options): Update. From-SVN: r53526
* c-common.c (STDC_0_IN_SYSTEM_HEADERS, [...]): Default-define here.Zack Weinberg2002-05-168-124/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-common.c (STDC_0_IN_SYSTEM_HEADERS, REGISTER_PREFIX): Default-define here. (builtin_define_with_value): Can now wrap the expansion in quotation marks if such is wanted. (cb_register_builtins): Update calls to builtin_define_with_value. Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__ here. (c_common_init): Set options->stdc_0_in_system_headers. * c-lex.h: Update prototype of builtin_define_with_value. * cppdefault.h: Remove default definitions of USER_LABEL_PREFIX and REGISTER_PREFIX. * cppinit.c (VERS, ULP, C, X): Kill. (builtin_array): Remove entries for __VERSION__, __USER_LABEL_PREFIX__, __REGISTER_PREFIX__, and __HAVE_BUILTIN_SETJMP__. Make __STDC__ always a builtin, not a constant. (init_builtins): Kill off a bunch of now-dead code. (COMMAND_LINE_OPTIONS): Remove -fleading-underscore and -fno-leading-underscore. (cpp_handle_option): Remove code to set user_label_prefix. (cpp_post_options): Likewise. * cpplib.h (struct cpp_options): Remove user_label_prefix. (stdc_0_in_system_headers): New. * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile, stdc_0_in_system_headers) too to decide the value of __STDC__. * tradcpp.c (user_label_prefix): Kill. (main): Remove code handling -f(no-)leading-underscore. (initialize_builtins): Don't define __REGISTER_PREFIX__ or __USER_LABEL_PREFIX__. (install_value): Wrap compound statement in dummy loop so the macro works properly in an if statement. From-SVN: r53525
* loop.h (struct loop_info): Add member has_prefetch.Janis Johnson2002-05-163-91/+142
| | | | | | | | | | | | * loop.h (struct loop_info): Add member has_prefetch. * loop.c (PREFETCH_CONDITIONAL): Change default to 1. (prescan_loop): Initialize has_prefetch. (struct prefetch_info): Change prefetch_in_loop and prefetch_before_loop from bit fields to ints. (emit_prefetch_instructions): Several small fixes. (check_dbra_loop): Don't reverse loop that uses prefetch. From-SVN: r53524
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.Rainer Orth2002-05-1658-308/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * config-ml.in: Likewise. * configure: Likewise. * configure.in: Likewise. boehm-gc: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. * aclocal.m4: Regenerate. * configure: Regenerate. config: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. contrib: * test_installed: Allow for PWDCMD to override hardcoded pwd. * test_summary: Likewise. gcc: * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * configure.in: Likewise. * fixinc/check.tpl: Likewise. * fixinc/fixinc.dgux: Likewise. * fixinc/fixinc.svr4: Likewise. * fixinc/fixinc.winnt: Likewise. * fixinc/fixincl.sh: Likewise. * fixproto: Likewise. * configure: Regenerate. gcc/ada: * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd. * Makefile.in: Likewise. gcc/f: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. gcc/java: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. gcc/po: * exgettext: Allow for PWDCMD to override hardcoded pwd. gcc/treelang: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. libf2c: * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * aclocal.m4: Likewise. * configure: Regenerate. libjava: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. * configure.in: Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. libobjc: * aclocal.m4: Allow for PWDCMD to override hardcoded pwd. * configure: Regenerate. libstdc++-v3: * Makefile.am: Allow for PWDCMD to override hardcoded pwd. * acinclude.m4: Likewise. * docs/html/Makefile: Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. zlib: * configure.in: Allow for PWDCMD to override hardcoded pwd. * configure: Regenerate. * ChangeLog: Move entries to ChangeLog.gcj. From-SVN: r53523
* Basic block renumbering removal.Zdenek Dvorak2002-05-1645-1946/+1946
| | | | From-SVN: r53522
* * cfgrtl.c (purge_dead_edges): Correct handling of EDGE_EH.Mark Mitchell2002-05-162-5/+18
| | | | From-SVN: r53521
* arm.c (arm_rtx_costs): Check for RTX being a SYMBOL_REF before calling ↵Nick Clifton2002-05-163-9/+23
| | | | | | | | | | | | | | | CONSTANT_POOL_ADDRESS_P. * config/arm/arm.c (arm_rtx_costs): Check for RTX being a SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P. (arm_adjust_cost): Check for RTX being a SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P. * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Fix typo in code to decide whether to define __arm__ or __thumb. (THUMB_GO_IF_LEGITIMATE_ADDRESS): Check for RTX being a SYMBOL_REF before calling CONSTANT_POOL_ADDRESS_P. From-SVN: r53519
* * MAINTAINERS: Update my email address.Stephane Carrez2002-05-162-1/+5
| | | | From-SVN: r53518
* re PR c++/6620 (partial template specialization on int)Kriang Lerdsuwanakij2002-05-163-23/+54
| | | | | | | | | | PR c++/6620 * pt.c (verify_class_unification): Don't check if PARM is template parameter dependent. Simplify. (unify) [TEMPLATE_PARM_INDEX]: Handle when ARG is a template parameter dependent expression. From-SVN: r53517
* Daily bump.GCC Administrator2002-05-166-6/+6
| | | | From-SVN: r53514
* arc.h (CPP_PREDEFINES): Remove.Neil Booth2002-05-162-7/+17
| | | | | | | | * config/arc/arc.h (CPP_PREDEFINES): Remove. (CPP_SPEC): Update. (TARGET_CPU_CPP_BUILTINS): New. From-SVN: r53510