aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-02-02sparc.c (function_arg_slotno): Align TImode arguments on a 16-byte boundary ↵Eric Botcazou4-5/+54
in the parameter array if ARCH64. * config/sparc/sparc.c (function_arg_slotno): Align TImode arguments on a 16-byte boundary in the parameter array if ARCH64. Split handling of TFmode. From-SVN: r77107
2004-02-02rtlanal.c (reg_overlap_mentioned_p): Don't test CONSTANT_P (x).Paolo Bonzini2-12/+27
2004-02-02 Paolo Bonzini <bonzini@gnu.org> * rtlanal.c (reg_overlap_mentioned_p) [!ENABLE_CHECKING]: Don't test CONSTANT_P (x). (reg_overlap_mentioned_p): Merge check for STRICT_LOWPART, ZERO_EXTRACT, SIGN_EXTRACT with the switch statement. Fix misindentation. From-SVN: r77105
2004-02-02* doc/invoke.texi (SPARC options): Document that -mflat is deprecated.Eric Botcazou2-0/+6
From-SVN: r77100
2004-02-02arc.md, [...]: Replace gen_rtx with gen_rtx_fmt_e*.Kazu Hirata23-89/+106
* config/arc/arc.md, config/arm/arm.c, config/arm/arm.md, config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.md, config/frv/frv.c, config/h8300/h8300.c, config/ip2k/ip2k.md, config/iq2000/iq2000.c, config/m32r/m32r.c, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.md, config/mn10300/mn10300.c, config/rs6000/rs6000.c, config/rs6000/rs6000.md, config/sh/sh.c, config/sh/sh.md, config/stormy16/stormy16.c, config/v850/v850.md, config/xtensa/xtensa.c: Replace gen_rtx with gen_rtx_fmt_e*. From-SVN: r77098
2004-02-02mcore.c (block_move_sequence): Replace gen_rtx_CONST_INT with GEN_INT.Kazu Hirata2-4/+7
* config/mcore/mcore.c (block_move_sequence): Replace gen_rtx_CONST_INT with GEN_INT. From-SVN: r77094
2004-02-02re PR c++/13957 (Insufficient diagnostic for dependent expression parsed as ↵Giovanni Bajo4-4/+30
non-type but instantiated as type) PR c++/13957 * g++.dg/template/non-type-template-argument-1.C, g++.dg/template/qualified-id1.C: Update dg-error marks. * g++.dg/template/nontype6.C: New test. From-SVN: r77091
2004-02-02re PR c++/13957 (Insufficient diagnostic for dependent expression parsed as ↵Giovanni Bajo1-0/+6
non-type but instantiated as type) PR c++/13957 * pt.c (tsubst_qualified_id): Improved error message when a type is expected but not found. From-SVN: r77090
2004-02-02pt.c (tsubst_qualified_id): Improved error message when a type is expected ↵Giovanni Bajo1-2/+5
but not found. * pt.c (tsubst_qualified_id): Improved error message when a type is expected but not found. From-SVN: r77089
2004-02-02alias.c (record_set): Use hard_regno_nregs.Jan Hubicka40-275/+372
* alias.c (record_set): Use hard_regno_nregs. * bt-load.c (find_btr_reference, note_btr_set): Likewise. * builtins.c (apply_args_size): Likewise. * caller-save.c (setup_save_areas, save_call_clobbered_regs, mark_set_regs, add_stored_regs, mark_referenced_regs, insert_restore, insert_save, insert_one_insn): Likewise. * cfgcleanup.c: Include regs.h (mark_effect, mentions_nonequal_regs): Likewise. * cfgrtl.c (mark_killed_regs): Likewise * combine.c (update_table_tick, record_value_for_reg, record_dead_and_set_regs, get_last_value_validate, use_crosses_set_p, reg_dead_at_p_1, reg_dead_at_p, mark_used_regs_combine, move_deaths, reg_bitfield_target_p, distribute_notes): Likewise. * cse.c (mention_regs, insert, invalidate, invalidate_for_call, exp_equiv_p, cse_insn): Likewise. * cselib.c (cselib_lookup): Likewise. (cselib_invalidate_regno, cselib_record_set): Likewise. * df.c (df_ref_record): Likewise. * dwarf2out.c (reg_loc_descriptor, multiple_reg_loc_descriptor): Likewise. * flow.c (mark_reg, insn_dead_p, mark_set_1, mark_used_reg, count_or_remove_death_notes_bb): Likewise. * function.c (aggregate_value_p, keep_stack_depressed): Likewise. * gloval.c (global_alloc, find_reg, mark_reg_store, mark_reg_conflicts, mark_reg_death, set_preference, reg_becomes_live, reg_dies): Likewise. * integrate.c (mark_stores): Likewise. * jump.c (delete_prior_computation): Likewise. * lcm.c (reg_dies, reg_becomes_live): Likewise. * local-alloc.c (combine_regs, find_free_reg, post_mark_life): Likewise. * loop.c (LOOP_REGNO_NREGS): Likewise. * postreload.c (reload_combine, reload_combine_note_store, reload_combine_note_use, reload_cse_move2add, move2add_note_store): Likewise. * ra-colorize.c (combine, color_usable_p, get_free_reg, calculate_dont_begin, calculate_dont_begin, colorize_one_web, try_recolor_web, insert_coalesced_conflicts, check_colors, break_precolored_alias): Likewise. * ra-debug.c: Include regs.h (ra_print_rtx_object): Likewise. * ra-rewrite (choose_spill_colors): Likewise. (spill_same_color_p, update_spill_colors, spill_is_free): Likewise. * ra.c (init_ra): Likewise. * recog.c (reg_fits_class_p, peep2_reg_dead_p, peep2_find_free_register): Likewise. * reg-stack.c (subst_stack_regs_pat, convert_regs_exit): Likewise. * regclass.c (hard_regno_nregs): New array. (init_reg_modes_once): Initialize it. (choose_hard_reg_mode): Use it. (record_reg_classes): Likewise. * regmove.c (mark_flags_life_zones): Likewise. * regrename.c (note_sets, clear_dead_regs, regrename_optimize, scan_rtx_reg, dump_def_use_chain, kill_value, set_value_regno, copy_value, maybe_mode_change, find_oldest_value_reg, copyprop_hardreg_forward_1): * regs.h (hard_regno_nregs): Declare. * realod.c (reload_inner_reg_of_subreg): Use it. (push_reload, combine_reloads, find_dummy_reload, hard_reg_set_here_p, operands_match_p, decompose, find_reloads, refers_to_regno_for_reload_p, find_equiv_reg, regno_clobbered_p, reload_adjust_reg_for_mode): Likewise. * reload1.c (compute_use_by_pseudos, count_pseudo, count_spilled_pseudo, find_reg, find_reload_regs, mark_home_live, spill_hard_reg, forget_old_reloads_1, mark_reload_reg_in_use, clear_reload_reg_in_use, reload_reg_free_for_value_p, free_for_value_p allocate_reload_reg, choose_reload_regs, emit_reload_insns, delete_output_reload): Likewise. * resource.c (update_live_status, mark_referenced_resources, mark_set_resources, mark_target_live_regs): Likewise. * rtlanal.c: Include regs.h (refers_to_regno_p, reg_overlap_mentioned_p, dead_or_set_p, dead_or_set_regno_p, find_regno_note, find_reg_fusage, subreg_regno_offset, subreg_offset_representable_p, hoist_test_store): Likewise. * sched-deps.c (sched_analyze_1, sched_analyze_2): Likewise. * sched-rgn.c (check_live_1, update_live_1): Likewise. * stmt.c: Include regs.h (decl_conflicts_with_clobbers_p): Likewise. * varasm.c (make_decl_rtl): Likewise. * Makefile.in (cfgcleanup.o, rtlanal.o, ra-debug.o): Add regs.h dependnecy. From-SVN: r77088
2004-02-02Daily bump.GCC Administrator1-1/+1
From-SVN: r77085
2004-02-01arm.c, [...]: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".Kazu Hirata37-491/+509
* config/arm/arm.c, config/arm/arm.h, config/arm/arm.md, config/arm/linux-gas.h, config/arm/netbsd-elf.h, config/arm/netbsd.h, config/arm/pe.c, config/avr/avr.c, config/avr/avr.h, config/avr/avr.md, config/c4x/c4x.h, config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c, config/frv/frv.h, config/ip2k/ip2k.c, config/iq2000/iq2000.c, config/iq2000/iq2000.h, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md, config/m68k/m68k.md, config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md, config/mips/mips.c, config/ns32k/ns32k.h, config/ns32k/ns32k.md, config/rs6000/rs6000.c, config/s390/s390.c, config/s390/s390.md, config/sparc/sparc.c, config/v850/v850.c, config/xtensa/xtensa.h, config/xtensa/xtensa.md: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". From-SVN: r77080
2004-02-01* config/h8300/h8300.md (two peephole2's): New.Kazu Hirata2-0/+39
From-SVN: r77076
2004-02-01sol2-bi.h: Handle TARGET_CPU_ultrasparc3.Eric Botcazou3-4/+28
* config/sparc/sol2-bi.h: Handle TARGET_CPU_ultrasparc3. (CPP_CPU_SPEC): Handle -mcpu=ultrasparc3. (ASM_CPU_SPEC): Likewise * config/sparc/sol2.h: Handle TARGET_CPU_ultrasparc3. (ASM_CPU_SPEC): Remove -mcpu=v8plus. Handle -mcpu=ultrasparc3. From-SVN: r77074
2004-02-01* de.po: Update.Joseph Myers2-190/+204
From-SVN: r77072
2004-02-01builtins.c (expand_builtin_pow): If flag_unsafe_math_optimizations isn't set...Roger Sayle2-3/+10
* builtins.c (expand_builtin_pow): If flag_unsafe_math_optimizations isn't set, don't call expand_builtin_mathfn_2 to use the pow optab. (expand_builtin): Always call expand_builtin_pow. From-SVN: r77071
2004-02-01builtins.def (BUILT_IN_SIGNBIT, [...]): New GCC builtins.Roger Sayle8-0/+247
* builtins.def (BUILT_IN_SIGNBIT, BUILT_IN_SIGNBITF, BUILT_IN_SIGNBITL): New GCC builtins. * builtins.c (expand_builtin_signbit): New function to RTL expand calls to signbit, signbitf and signbitl as inline intrinsics. (expand_builtin): Call expand_builtin_signbit for BUILT_IN_SIGNBIT*. (fold_builtin_signbit): New function to perform constant folding of signbit, signbitf and signbitl. (fold_builtin): Call fold_builtin_signbit for BUILT_IN_SIGNBIT*. * doc/extend.texi: Document new signbit{,f,l} builtins. * gcc.dg/builtins-1.c: Also test for __builtin_signbit{,f,l}. * gcc.dg/builtins-31.c: New testcase. * gcc.dg/builtins-32.c: New testcase. From-SVN: r77070
2004-02-01* config/mips/mips.md (adddi3_internal_2): Remove superfluous %s.Richard Sandiford2-1/+5
From-SVN: r77066
2004-02-01mips.h (PREDICATE_CODES): Remove entries for "mips_const_double_ok" and ↵Chris Demetriou3-3/+9
"simple_memory_operand"... 2004-02-01 Chris Demetriou <cgd@broadcom.com> * config/mips/mips.h (PREDICATE_CODES): Remove entries for "mips_const_double_ok" and "simple_memory_operand", which were removed from the MIPS port with the mips-3_4-rewrite branch merge. * config/mips/mips.c (mips16_lay_out_constants): Update comment for removal of simple_memory_operand. From-SVN: r77064
2004-02-01Daily bump.GCC Administrator1-1/+1
From-SVN: r77061
2004-01-31c4x.md: Use GEN_INT instead of gen_rtx (CONST_INT, ...).Kazu Hirata2-4/+7
* config/c4x/c4x.md: Use GEN_INT instead of gen_rtx (CONST_INT, ...). From-SVN: r77057
2004-01-31* varasm.c (output_constant_pool): Don't zap the pool.Richard Henderson2-3/+4
From-SVN: r77056
2004-01-31genrecog.c (decision_type): Add DT_const_int.Kazu Hirata2-0/+31
* genrecog.c (decision_type): Add DT_const_int. (write_cond) [DT_const_int]: Print a comparison against small constant. (write_node): Simplify comparisons against small constants before printing tests. From-SVN: r77055
2004-01-31m32r.c (m32r_load_pic_register): Use GEN_INT instead of gen_rtx_CONST_INT.Kazu Hirata2-1/+6
* config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT instead of gen_rtx_CONST_INT. From-SVN: r77054
2004-01-31xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT instead of gen_rtx_CONST_INT.Kazu Hirata2-2/+6
* config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT instead of gen_rtx_CONST_INT. From-SVN: r77053
2004-01-31target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as ↵Kazu Hirata4-3/+14
hook_bool_CUMULATIVE_ARGS_false. * target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as hook_bool_CUMULATIVE_ARGS_false. * targhooks.c (default_strict_argument_naming): Rename to hook_bool_CUMULATIVE_ARGS_false. * targhooks.h: Update the prototype for default_strict_argument_naming. From-SVN: r77052
2004-01-31sh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".Kazu Hirata4-63/+69
* config/sh/sh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". * config/sh/sh.h: Likewise. * config/sh/sh.md: Likewise. From-SVN: r77051
2004-01-31* doc/invoke.texi (SPARC options): Restructure and update.Eric Botcazou2-47/+53
From-SVN: r77048
2004-01-31system.h (PROMOTE_FUNCTION_ARGS, [...]): Poison.Kazu Hirata5-44/+24
* system.h (PROMOTE_FUNCTION_ARGS, STRUCT_VALUE_INCOMING, and STRICT_ARGUMENT_NAMING): Poison. * target-def.h (TARGET_PROMOTE_FUNCTION_ARGS): Define as hook_bool_tree_false. * targhooks.c (default_promote_function_args): Remove. (default_struct_value_rtx): Don't use STRUCT_VALUE_INCOMING. Don't check incoming. (default_strict_argument_naming): Don't use STRICT_ARGUMENT_NAMING. * targhooks.h: Remove the prototype for default_promote_function_args. From-SVN: r77047
2004-01-31i386-protos.h: Remove the prototype for ix86_setup_incoming_varargs.Kazu Hirata4-34/+15
* config/i386/i386-protos.h: Remove the prototype for ix86_setup_incoming_varargs. * config/i386/i386.c (TARGET_SETUP_INCOMING_VARARGS): New. (ix86_setup_incoming_varargs): Make it static. * config/i386/i386.h (SETUP_INCOMING_VARARGS): Remove. From-SVN: r77046
2004-01-31class.c: Fix comment typos.Kazu Hirata8-10/+20
* class.c: Fix comment typos. * decl.c: Likewise. * error.c: Likewise. * parser.c: Likewise. * pt.c: Likewise. * search.c: Likewise. * typeck.c: Likewise. From-SVN: r77045
2004-01-31alloc-pool.c: Fix comment typos.Kazu Hirata7-8/+18
* alloc-pool.c: Fix comment typos. * builtin-types.def: Likewise. * builtins.def: Likewise. * c-pretty-print.c: Likewise. * df.h: Likewise. * reload1.c: Likewise. From-SVN: r77043
2004-01-31invoke.texi: Follow spelling conventions.Kazu Hirata3-3/+8
* doc/invoke.texi: Follow spelling conventions. * doc/tm.texi: Likewise. From-SVN: r77040
2004-01-31install.texi: Fix typos.Kazu Hirata3-2/+7
* doc/install.texi: Fix typos. * doc/invoke.texi: Likewise. From-SVN: r77037
2004-01-31s390.c (s390_decompose_address): Do not treat virtual registers as pointers.Ulrich Weigand3-5/+7
* config/s390/s390.c (s390_decompose_address): Do not treat virtual registers as pointers. * config/s390/s390.md ("*la_31" second peephole2): Fix incorrect mode. From-SVN: r77036
2004-01-31call-super-2.m: Update line numbers for the including of stddef.h.Andrew Pinski2-4/+9
2004-01-30 Andrew Pinski <pinskia@physics.uc.edu> * objc.dg/call-super-2.m: Update line numbers for the including of stddef.h. From-SVN: r77027
2004-01-31combine.c (cse_main): Set gen_lowpart to gen_lowpart_for_combine and restore ↵Paolo Bonzini5-102/+123
it to... 2004-01-31 Paolo Bonzini <bonzini@gnu.org> * combine.c (cse_main): Set gen_lowpart to gen_lowpart_for_combine and restore it to gen_lowpart_general on exit. (gen_lowpart_for_combine): Adjust all callers to go through gen_lowpart. * cse.c (cse_main): Set gen_lowpart to gen_lowpart_if_possible and restore it to gen_lowpart_general on exit. (gen_lowpart_if_possible): Adjust all callers to go through gen_lowpart. * emit-rtl.c (gen_lowpart_general): New name of gen_lowpart. (gen_lowpart): Declare as pointer to function, initialized to gen_lowpart_general. * rtl.h (gen_lowpart): Declare as pointer to function. From-SVN: r77026
2004-01-31bt-load.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".Kazu Hirata9-23/+34
* bt-load.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". * calls.c: Likewise. * emit-rtl.c: Likewise. * function.c: Likewise. * reload1.c: Likewise. * config/i386/cygming.h: Likewise. * config/i386/i386.c: Likewise. * config/i386/winnt.c: Likewise. From-SVN: r77025
2004-01-30re PR bootstrap/9249 (bootstrap fails with --enable-__cxa-atexit on Solaris)Dara Hazeghi4-5/+99
2004-01-30 Dara Hazeghi <dhazeghi@yahoo.com> PR bootstrap/9249 * doc/install.texi: document --enable-__cxa_atexit option. * configure.ac: Disable __cxa_atexit if not supported. * configure: Regenerate. From-SVN: r77023
2004-01-31ggc-zone.c (ggc_free): New function.Daniel Berlin2-7/+30
2003-01-30 Daniel Berlin <dberlin@dberlin.org> * ggc-zone.c (ggc_free): New function. From-SVN: r77019
2004-01-31alloc-pool.c, c-lex.c, c-pragma.h, c-semantics.c, cfghooks.c,Kazu Hirata76-75/+117
cfghooks.h, cfglayout.c, cfgloopmanip.c, debug.c, debug.h, flow.c, genextract.c, ggc-common.c, ggc-page.c, ggc.h, ifcvt.c, jump.c, loop-unswitch.c, timevar.c, timevar.def, tree-optimize.c, vmsdbgout.c, config/fp-bit.c, config/alpha/alpha.c, config/alpha/alpha.h, config/alpha/alpha.md, config/alpha/unicosmk.h, config/alpha/vms.h, config/arm/linux-elf.h, config/avr/avr.c, config/c4x/c4x-protos.h, config/c4x/c4x.md, config/d30v/d30v.h, config/frv/frv.md, config/frv/frvbegin.c, config/frv/frvend.c, config/i386/cygming.h, config/i386/djgpp.h, config/i386/emmintrin.h, config/i386/gthr-win32.c, config/i386/i386-interix.h, config/i386/i386-protos.h, config/i386/openbsd.h, config/i386/winnt.c, config/i386/xm-mingw32.h, config/i386/xmmintrin.h, config/ia64/ia64.md, config/iq2000/iq2000.md, config/m32r/m32r.md, config/m68k/m68k.md, config/mcore/mcore-elf.h, config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h, config/mips/iris5gas.h, config/mips/iris6.h, config/mips/iris6gas.h, config/mips/linux.h, config/mips/mips.md, config/mips/netbsd.h, config/mips/openbsd.h, config/mips/windiss.h, config/pa/fptr.c, config/rs6000/aix.h, config/rs6000/altivec.h, config/rs6000/darwin.h, config/rs6000/xcoff.h, config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h, config/s390/s390.md, config/sh/netbsd-elf.h, config/sh/sh.h, config/sh/vxworks.h, config/sparc/sol2.h: Update copyright. From-SVN: r77018
2004-01-31Makefile.in (abs_docdir, abs_srcdir): Define.Kelley Cook10-12/+39
gcc/ 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in (abs_docdir, abs_srcdir): Define. (doc/%.dvi, doc/gccinstall.dvi): Use $(abs_docdir). gcc/ada/ 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir). (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise. (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise. gcc/f/ 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (doc/g77.dvi): Use $(abs_docdir). gcc/java/ 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (doc/gcj.dvi): Use $(abs_docdir). gcc/treelang/ 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir). From-SVN: r77017
2004-01-31Daily bump.GCC Administrator1-1/+1
From-SVN: r77012
2004-01-30genconfig.c (main): Have CC0_P check its operand even on a target without cc0.Kazu Hirata2-1/+8
* genconfig.c (main): Have CC0_P check its operand even on a target without cc0. From-SVN: r77009
2004-01-30re PR c++/13693 ([tree-ssa] build failure in mipsisa64-elf)Richard Henderson3-6/+21
PR c++/13693 * method.c (use_thunk): Don't force_target_expr for void thunks. * tree.c (build_target_expr_with_type): Assert non-void type. (force_target_expr): Likewise. From-SVN: r77008
2004-01-30alpha.c: Remove mentions of deprecates macros in comments...Kazu Hirata20-44/+76
* config/alpha/alpha.c: Remove mentions of deprecates macros in comments, remove some target-independent comments about target macros, and/or add minimal function comments for target hook implementations. * config/avr/avr.c: Likewise. * config/ia64/ia64.h: Likewise. * config/ip2k/ip2k.c: Likewise. * config/iq2000/iq2000.c: Likewise. * config/m32r/m32r.h: Likewise. * config/m68hc11/m68hc11.c: Likewise. * config/mcore/mcore.c: Likewise. * config/mmix/mmix.c: Likewise. * config/mn10300/mn10300.c: Likewise. * config/pa/pa.c: Likewise. * config/pdp11/pdp11.c: Likewise. * config/rs6000/rs6000.h: Likewise. * config/sh/sh.c: Likewise. * config/sh/sh.h: Likewise. * config/sparc/sparc.c: Likewise. * config/sparc/sparc.h: Likewise. * config/stormy16/stormy16.c: Likewise. * config/xtensa/xtensa.c: Likewise. From-SVN: r77005
2004-01-30re PR rtl-optimization/12147 (Wrong code with -O2 in context of reload)Ulrich Weigand2-0/+10
PR optimization/12147 * reload1.c (reload_reg_free_p): RELOAD_OTHER conflicts with RELOAD_FOR_OPADDR_ADDR. (reload_reg_reaches_end_p): RELOAD_FOR_OTHER_ADDRESS register might be reused as RELOAD_FOR_OPADDR_ADDR register. From-SVN: r77003
2004-01-30Fix whitespace.David Edelsohn1-36/+36
From-SVN: r76990
2004-01-30reload.c (get_secondary_mem): Fix updating of secondary_memlocs_elim_used.Jan Hubicka2-2/+7
* reload.c (get_secondary_mem): Fix updating of secondary_memlocs_elim_used. From-SVN: r76989
2004-01-30varasm.c (struct rtx_const, [...]): Remove.Richard Henderson2-626/+408
* varasm.c (struct rtx_const, struct pool_constant): Remove. (MAX_RTX_HASH_TABLE): Remove. (const_rtx_hash_table, const_rtx_sym_hash_table): Remove. (first_pool, last_pool, pool_offset): Remove. (struct rtx_constant_pool): Split out from ... (struct varasm_status): ... here. Reference one via pointer. (struct constant_descriptor_rtx): Merge struct pool_constant. (SYMHASH): Remove. (decode_rtx_const): Remove. (const_hash_rtx, compare_constant_rtx): Remove. (record_constant_rtx): Remove. (const_desc_rtx_hash, const_desc_rtx_eq): New. (const_desc_rtx_sym_hash, const_desc_rtx_sym_eq): New. (const_rtx_hash_1, const_rtx_hash): New. (init_varasm_status): Allocate a rtx_constant_pool, and its hashes. (simplify_subtraction): Use simplify_rtx. (force_const_mem): Rewrite to use new data structures. (find_pool_constant): Likewise. (get_pool_constant, get_pool_constant_mark, get_pool_constant_for_function, get_pool_mode, get_pool_mode_for_function, get_pool_offset, get_pool_size): Likewise. (output_constant_pool_2): Split out from output_constant_pool. (output_constant_pool_1): Likewise. Use new pool datastructures. (output_constant_pool): Zap entire pool datastructure. (mark_constant): Use new pool datastructures. (mark_constants): Use for_each_rtx. (mark_constant_pool): Use new pool datastructures. From-SVN: r76985
2004-01-30Remove #if 0. Copy operands[1] to pseudo for simplify_gen_subreg.Fariborz Jahanian2-3/+7
OKed by David Edehlson. From-SVN: r76984