aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2002-05-03sparc-protos.h (sparc_rtx_costs): New.David S. Miller4-55/+87
2002-05-03 David S. Miller <davem@redhat.com> * config/sparc/sparc-protos.h (sparc_rtx_costs): New. * config/sparc/sparc.c (sparc_rtx_costs): New function implementing RTX_COSTS and CONST_COSTS. * config/sparc/sparc.h (CONST_COSTS): Delete. (RTX_COSTS_CASES): Define. (RTX_COSTS): Expand RTX_COSTS_CASES and use sparc_rtx_costs to do the work. From-SVN: r53147
2002-05-03sparc.md (DFA schedulers): Split out...David S. Miller8-518/+684
2002-05-03 David S. Miller <davem@redhat.com> * config/sparc/sparc.md (DFA schedulers): Split out... * config/sparc/cypress.md, config/sparc/hypersparc.md, config/sparc/sparclet.md, config/sparc/supersparc.md, config/sparc/ultra1_2.md, config/sparc/ultra3.md: ... into here. From-SVN: r53146
2002-05-03sparc.c (LEAF_REGISTERS): Do not do ifdef checks on it, always defined for ↵David S. Miller2-4/+3
Sparc. 2002-05-03 David S. Miller <davem@redhat.com> * config/sparc/sparc.c (LEAF_REGISTERS): Do not do ifdef checks on it, always defined for Sparc. From-SVN: r53145
2002-05-03sparc.h (REG_ALLOC_ORDER, [...]): Tweak, and add more detailed comments.David S. Miller2-27/+65
2002-05-03 David S. Miller <davem@redhat.com> * config/sparc/sparc.h (REG_ALLOC_ORDER, REG_LEAF_ALLOC_ORDER): Tweak, and add more detailed comments. From-SVN: r53144
2002-05-04Re-apply patch accidentally reverted with DFA scheduler merge: remove all ↵Zack Weinberg2-84/+33
rules and variables to slurp source files out of libiberty and... * Re-apply patch accidentally reverted with DFA scheduler merge: remove all rules and variables to slurp source files out of libiberty and rebuild them with HOST_CC. ($(HOST_PREFIX_1)varray.o): New rule. (genattrtab rule): Word wrap. From-SVN: r53141
2002-05-04netbsd64.h (CPP_LP64_SPEC): Define.Jason Thorpe2-0/+26
* config/i386/netbsd64.h (CPP_LP64_SPEC): Define. (CPP_SUBTARGET_SPEC): Define. (SUBTARGET_EXTRA_SPECS): Redefine, adding cpp_lp64 and cpp_subtarget specs. (CPP_SPEC): Redefine to include %(cpp_subtarget). From-SVN: r53140
2002-05-03ia64.c (ia64_emit_insn_before): Put it back.David S. Miller2-4/+22
2002-05-03 David S. Miller <davem@redhat.com> * config/ia64/ia64.c (ia64_emit_insn_before): Put it back. (rtx_needs_barrier): Delete reference to cycle_display unspec. (ia64_sched_reorder2): Mention need for cycle display handling once such notes exist. From-SVN: r53139
2002-05-03target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete.David S. Miller3-8/+5
2002-05-03 David S. Miller <davem@redhat.com> * target-defs.h (TARGET_SCHED_CYCLE_DISPLAY): Delete. * target.h (struct gcc_target): Delete cycle_display member. From-SVN: r53138
2002-05-03real.c (etoasc): Strip most trailing zeros for clarity.Richard Henderson4-8/+21
* real.c (etoasc): Strip most trailing zeros for clarity. * sched-vis.c: Include real.h. (print_value): Use REAL_VALUE_TO_DECIMAL as needed. * Makefile.in (sched-vis.o): Add real.h. From-SVN: r53137
2002-05-03haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change, no longer needed.David S. Miller2-11/+11
2002-05-03 David S. Miller <davem@redhat.com> * haifa-sched.c (rank_for_schedule): Revert 2002-05-02 change, no longer needed. From-SVN: r53136
2002-05-04rs6000.c (altivec_expand_binop_builtin): Error out when we get an out of ↵Aldy Hernandez2-6/+75
range literal. 2002-05-03 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (altivec_expand_binop_builtin): Error out when we get an out of range literal. (altivec_expand_ternop_builtin): Same. (altivec_expand_unop_builtin): Same. (altivec_expand_builtin): Same, for dss. (altivec_expand_builtin): Use trees instead of rtl when determining literal argument validity. From-SVN: r53135
2002-05-03Delete cycle display scheduling hook.David S. Miller8-84/+20
2002-05-03 David S. Miller <davem@redhat.com> Delete cycle display scheduling hook. * config/ia64/ia64.c (ia64_cycle_display, TARGET_SCHED_CYCLE_DISPLAY, ia64_emit_insn_before): Delete. (ia64_sched_reorder2): Don't check for CODE_FOR_cycle_display and use emit_insn_before instead of ia64_emit_insn_before. * config/ia64/ia64.md (unspec usage): Delete cycle display. (cycle_display): Delete insn pattern. * config/sparc/sparc.md (unspec usage): Delete cycle display. (cycle_display): Delete insn pattern. * config/sparc/sparc.c (sparc_cycle_display, TARGET_SCHED_CYCLE_DISPLAY): Delete. * doc/md.texi (cycle_display): Don't mention. * doc/tm.texi (TARGET_SCHED_CYCLE_DISPLAY): Likewise. From-SVN: r53134
2002-05-03recog.c (store_data_bypass_p, [...]): New.Richard Henderson6-73/+71
* recog.c (store_data_bypass_p, if_test_bypass_p): New. * recog.h: Declare them. * config/sparc/sparc.c (ultrasparc_store_bypass_p): Remove. * config/sparc/sparc.md: Use store_data_bypass_p instead. * config/sparc/sparc-protos.h: Update. From-SVN: r53132
2002-05-03netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove -D__arch64__.Jason Thorpe2-1/+27
* config/sparc/netbsd-elf.c (CPP_SUBTARGET_SPEC64): Remove -D__arch64__. Add -D_LP64. (CPP_ARCH32_SPEC): Redefine to match the non-bi-arch version from sparc.h. (CPP_ARCH64_SPEC): Likewise. (NO_BUILTIN_PTRDIFF_TYPE): Undef. (NO_BUILTIN_SIZE_TYPE): Undef. From-SVN: r53131
2002-05-03genautomata.c (min_issue_delay_pass_states): Change return type in the ↵Vladimir Makarov2-28/+47
prototype. 2002-05-03 Vladimir Makarov <vmakarov@redhat.com> * genautomata.c (min_issue_delay_pass_states): Change return type in the prototype. (min_issue_delay_pass_states): Change the algorithm. (min_issue_delay): Set up min_insn_issue_delay for the state. (output_min_issue_delay_table): Interchange the nested loops and and initiate min_insn_issue_delay for states. From-SVN: r53130
2002-05-03cfgcleanup.c (try_optimize_cfg): Call merge_block only when jump is simplejump.Jan Hubicka2-2/+7
* cfgcleanup.c (try_optimize_cfg): Call merge_block only when jump is simplejump. From-SVN: r53129
2002-05-03i386.c (expand_movstr, [...]): Fix inline-all-stringops sequence.Jan Hubicka2-16/+31
* i386.c (expand_movstr, expand_clrstr): Fix inline-all-stringops sequence. From-SVN: r53128
2002-05-03ifcvt.c (noce_try_store_flag, [...]): Insert new code before JUMP, not EARLIEST.Richard Henderson3-12/+51
* ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants, noce_try_store_flag_inc, noce_try_store_flag_mask, noce_try_cmove, noce_try_cmove_arith, noce_try_minmax, noce_try_abs): Insert new code before JUMP, not EARLIEST. From-SVN: r53123
2002-05-03cmdlne-dM-M.c: New test.Jakub Jelinek8-0/+113
* gcc.dg/cpp/cmdlne-dM-M.c: New test. * gcc.dg/cpp/cmdlne-dD-M.c: New test. * gcc.dg/cpp/cmdlne-dN-M.c: New test. * gcc.dg/cpp/cmdlne-dI-M.c: New test. * gcc.dg/cpp/cmdlne-dI-M.h: New aux file. * gcc.dg/cpp/cmdlne-dD-dM.c: New test. * gcc.dg/cpp/cmdlne-dM-dD.c: New test. From-SVN: r53121
2002-05-03re PR c/6547 (misleading printf '$' format)Joseph Myers4-5/+37
* c-format.c (check_format_info_main): Don't check for presence of parameter for * width until after operand number has been read, and only check for it if format parameters are available. Fixes PR c/6547. testsuite: * gcc.dg/format/xopen-2.c: New test. From-SVN: r53118
2002-05-03netbsd.h (CPP_PREDEFINES): Add -D_LP64.Jason Thorpe2-1/+7
* config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64. (LINK_SPEC): Undef before defining. From-SVN: r53113
2002-05-03re PR preprocessor/6489 (tradcpp0 fails on line ending with '\r\n')Jakub Jelinek2-0/+45
PR preprocessor/6489 * tradcpp.c (fixup_newlines): New. (main, finclude): Use it. From-SVN: r53103
2002-05-03elf64.h (UNIQUE_SECTION): Use mips_unique_section.Richard Sandiford3-65/+9
* config/mips/elf64.h (UNIQUE_SECTION): Use mips_unique_section. * config/mips/mips.c (mips_unique_section): Strip encoding from decl name. From-SVN: r53101
2002-05-03i386.c (ix86_expand_int_movcc): Truncate to proper mode.Jakub Jelinek2-1/+8
* config/i386/i386.c (ix86_expand_int_movcc): Truncate to proper mode. From-SVN: r53099
2002-05-03tree.c (build_cplus_array_type): Only const and volatile get special handling.Jason Merrill3-4/+17
* tree.c (build_cplus_array_type): Only const and volatile get special handling. From-SVN: r53098
2002-05-03install.texi (Installing): Mention GCC 3.1 buildstats.Rainer Orth2-35/+21
* doc/install.texi (Installing): Mention GCC 3.1 buildstats. (Specific): Removed buildstats references. (Specific, hppa*-hp-hpux11): Adjust for GCC versions > 3.0. (Specific, sparc-sun-solaris2*): Update 64-bit hints for GCC 3.1. Accomodate Solaris versions beyond 8. (Specific, sparc-sun-solaris2.7): Update as path for GCC 3.1. (Specific, *-*-solaris2.8): Removed, obsolete. From-SVN: r53097
2002-05-03re PR target/6542 (Internal compiler error when building libgcc for sparc-elf)Jakub Jelinek5-2/+30
PR target/6542 * config/sparc/sparc.h (leaf_reg_remap): Remove const. (CONDITIONAL_REGISTER_USAGE): For TARGET_FLAT make fill leaf_reg_remap with identity. * config/sparc/sparc.c (leaf_reg_remap): Remove const. * gcc.dg/20020503-1.c: New test. From-SVN: r53095
2002-05-03defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.Jason Merrill1-3/+3
* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c. * c-decl.c (c_init_decl_processing): Use it. * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE. * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define. * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define. From-SVN: r53091
2002-05-03crti.asm: Remove trailing spaces.Kazu Hirata4-51/+57
* config/h8300/crti.asm: Remove trailing spaces. * config/h8300/h8300.c: Likewise. * config/h8300/lib1funcs.asm: Likewise. From-SVN: r53090
2002-05-03defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.Jason Merrill8-15/+22
* defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c. * c-decl.c (c_init_decl_processing): Use it. * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE. * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define. * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define. From-SVN: r53089
2002-05-03regrename.c: Fix formatting.Kazu Hirata3-61/+66
* regrename.c: Fix formatting. * tree.c: Likewise. From-SVN: r53088
2002-05-03* i386.md (attribute memory): Handle compares properly.Jan Hubicka2-3/+7
From-SVN: r53085
2002-05-03i386.c (sse_clrsf, sse_clrsi): Set memory attribute to none.Jan Hubicka2-0/+7
* i386.c (sse_clrsf, sse_clrsi): Set memory attribute to none. From-SVN: r53082
2002-05-03Daily bump.GCC Administrator2-2/+2
From-SVN: r53081
2002-05-03* function.c: Fix formatting.Kazu Hirata2-33/+37
From-SVN: r53075
2002-05-02haifa-sched.c (schedule_insn): Print table of instructions and reservations.Jan Hubicka5-27/+35
* haifa-sched.c (schedule_insn): Print table of instructions and reservations. (sched_block): Do not print ready list at verbosity level 1. * sched-vis.c (print_insn): Make global. * sched-ebb.c (ebb_print_insn): Rename from... (print_insn): ... this one. * sched-int.h (print_insn): Declare From-SVN: r53073
2002-05-02haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn emitted by ↵Richard Henderson2-6/+16
cycle_display. * haifa-sched.c (rank_for_schedule): Skip past last_scheduled_insn emitted by cycle_display. From-SVN: r53072
2002-05-02* doc/install.texi (*-*-freebsd*): Update to latest status.Loren J. Rittle2-3/+9
From-SVN: r53070
2002-05-02re PR target/6540 (sparc-sun-solaris2.7 (perhaps all bi-arch sparc) fail ↵Jakub Jelinek3-18/+11
libstdc++-v3 18_support/numeric_limits.cc) 2002-05-02 Jakub Jelinek <jakub@redhat.com> PR target/6540 * config.gcc (sparc*-*-solaris2*): Set float_format to i128. * config/float-sparc.h: Assume 128-bit long double if __LONG_DOUBLE_128__ is defined. From-SVN: r53069
2002-05-02genattrtab.c (write_function_unit_info): Add a dummy element when num_units ↵Vladimir Makarov2-0/+7
== 0. 2002-05-02 Vladimir Makarov <vmakarov@redhat.com> * genattrtab.c (write_function_unit_info): Add a dummy element when num_units == 0. From-SVN: r53067
2002-05-02predict.c: (propagate_freq...Herman A.J. ten Brugge2-8/+16
* predict.c: (propagate_freq, estimate_bb_frequencies): Use TYPE_MODE (double_type_node) instead of DFmode. From-SVN: r53064
2002-05-02* g++.dg/init/dtor1.C: Make it tougher.Mark Mitchell2-3/+23
From-SVN: r53061
2002-05-02Fix i960-rtems Ada build failure reported by Joel Sherrill.Jim Wilson2-1/+5
* utils.c (finish_record_type): Change record_size to record_type. From-SVN: r53058
2002-05-02cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed jumps post ↵Jan Hubicka3-2/+15
reload. * cfgrtl.c (try_redirect_by_replacing_jump): Do not kill computed jumps post reload. * toplev.c (rest_of_compilation): Revert Richard's patch. From-SVN: r53052
2002-05-02x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS.John David Anglin4-9/+25
* pa/x-ada (ADA_CFLAGS): Rename to X_ADA_CFLAGS. * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides. (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC. From-SVN: r53047
2002-05-02* config/v850/v850.h (TRAMPOLINE_TEMPLATE): Change r5 to r20.Catherine Moore2-1/+5
From-SVN: r53046
2002-05-02A typo in my last commit.Kazu Hirata1-1/+1
From-SVN: r53045
2002-05-02combine.c: Fix comment formatting.Kazu Hirata6-21/+29
* combine.c: Fix comment formatting. * expr.c: Likewise. * genautomata.c: Likewise. * stmt.c: Likewise. * tree.h: Likewise. From-SVN: r53044
2002-05-02* doc/install.texi: State GNAT version requirements.Joseph Myers2-1/+10
From-SVN: r53040
2002-05-02fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame pointer or ↵Nick Clifton2-2/+9
arg pointer register which strict... * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Accept any form of the frame pointer or arg pointer register which strict register checking is not enabled. From-SVN: r53039