Neil Booth
65ecca65ce
* dbxout.c, sdbout.c, varasm.c: Revert most recent patch.
...
From-SVN: r44237
2001-07-22 09:42:47 +00:00
GCC Administrator
665e329311
Daily bump.
...
From-SVN: r44236
2001-07-22 07:16:39 +00:00
Richard Henderson
4e812700ae
regrename.c (regrename_optimize): Compute nregs for each potential target register.
...
* regrename.c (regrename_optimize): Compute nregs for each
potential target register.
From-SVN: r44234
2001-07-22 00:10:46 -07:00
Neil Booth
f7e1058777
dbxout.c (dbxout_global_decl): New.
...
* dbxout.c (dbxout_global_decl): New.
(xcoff_debug_hooks, dbx_debug_hooks): Use it.
* sdbout.c (sdbout_finish): New.
(sdbout_debug_hooks): Use it, add comments.
(sdbout_global_decl): Defer initialised public vars to
sdbout_finish.
* varasm.c (assemble_variable): Don't output debug information
for file-scope variables.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r44232
2001-07-21 23:17:26 +00:00
H.J. Lu
919b1aecc7
mips.c (mips_cpu): Moved into ...
...
2001-07-21 H.J. Lu (hjl@gnu.org )
* config/mips/mips.c (mips_cpu): Moved into ...
(override_options): Here.
* config/mips/mips.h (mips_cpu_attr): Replace mips_cpu with
mips_tune.
(mips_cpu): Removed.
From-SVN: r44231
2001-07-21 11:01:46 -07:00
Stephane Carrez
0477256ccc
m68hc11.md ("andqi3"): Accept d as second operand.
...
* config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
("iorqi3"): Likewise.
("xorqi3"): Likewise.
("*addhi3"): Fix constraint to avoid reloading in a soft register.
("*subhi3_sp): Likewise.
("*subhi3"): Likewise.
("extendhisi2"): Accept D, X and Y as source operand to avoid
reload problems.
From-SVN: r44229
2001-07-21 13:39:13 +02:00
Nathan Sidwell
c4372ef4c6
tm.texi: Remove DEFAULT_VTABLE_THUNKS.
...
gcc:
* doc/tm.texi: Remove DEFAULT_VTABLE_THUNKS.
* config/freebsd.h: Likewise.
* config/linux.h: Likewise.
* config/openbsd.h: Likewise.
* config/alpha/linux-elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/d30v/d30v.h: Likewise.
* config/fr30/fr30.h: Likewise.
* config/ia64/aix.h: Likewise.
* config/ia64/ia64.h: Likewise.
* config/mips/linux.h: Likewise.
* config/pj/pj.h: Likewise.
* config/rs6000/linux.h: Likewise.
* config/sparc/linux.h: Likewise.
* config/sparc/linux64.h: Likewise.
cp:
Remove flag_vtable_thunk. It is always on for the 3.0 ABI.
* cp-tree.h (CPTI_DELTA2_IDENTIFIER): Remove.
(CPTI_INDEX_IDENTIFIER): Remove.
(CPT_PFN_OR_DELTA2_IDENTIFIER): Remove.
(delta2_identifier): Remove.
(index_identifier): Remove.
(pfn_or_delta2_identifier): Remove.
(flag_vtable_thunks): Remove.
(VTABLE_DELTA2_NAME): Remove.
(VTABLE_INDEX_NAME): Remove.
(FNADDR_FROM_VTABLE_ENTRY): Adjust.
(vfunc_ptr_type_node): Adjust.
(VTABLE_NAME_PREFIX): Adjust.
(build_vfn_ref): Lose first parameter.
(fixup_all_virtual_upcast_offsets): Remove.
* decl.c (initialize_predefined_identifiers): Remove
delta2_identifier, index_identifier, pfn_or_delta2_identifier.
(init_decl_processing): Remove no-vtable-thunk code.
* decl2.c (flag_vtable_thunks): Remove.
(mark_vtable_entries): Remove no-vtable-thunk code.
* error.c (dump_decl): Remove no-vtable-thunk code.
(dump_expr): Adjust ptr to member function code.
* init.c (initialize_vtable_ptrs): Remove no-vtable-thunk
code.
* rtti.c (build_headof): Remove no-vtable-thunk code.
(get_tinfo_decl_dynamic): Adjust build_vfn_ref call.
* search.c (get_base_distance): Remove expand_upcast_fixups case.
(virtual_context) Remove.
(expand_upcast_fixups): Remove.
(fixup_virtual_upcast_offsets): Remove.
(fixup_all_virtual_upcast_offsets): Remove.
* typeck.c (get_member_function_from_ptrfunc): Remove
no-vtable-thunk code.
* call.c (build_over_call): Adjust call to build_vfn_ref.
* class.c (build_vfn_ref): Lose first parameter. Remove
no-vtable-thunk code.
(build_rtti_vtbl_entries): Remove no-vtable-thunk code.
(build_vtable_entry): Remove no-vtable-thunk code.
From-SVN: r44227
2001-07-21 09:42:21 +00:00
Nathan Sidwell
f4653d9278
Remove old-abi tests.
...
* g++.old-deja/g++.mike/p11116.C: Remove.
* g++.old-deja/g++.eh/catchptr1.C: Remove old-abi ifdef.
From-SVN: r44226
2001-07-21 09:17:26 +00:00
GCC Administrator
06dff162a8
Daily bump.
...
From-SVN: r44224
2001-07-21 07:16:08 +00:00
Bruce Korb
c8b0c191f7
extra casting required by new pointer type
...
From-SVN: r44222
2001-07-21 04:20:08 +00:00
Bruce Korb
90376ae2b4
force unsigned char compares
...
From-SVN: r44219
2001-07-21 04:08:29 +00:00
Bruce Korb
907cb30e6e
incorporate patches from 3.0 branch
...
From-SVN: r44218
2001-07-21 04:04:27 +00:00
Richard Henderson
e9644cfea1
flow.c (try_redirect_by_replacing_jump): Correctly compute which insns to delete in the presence of cc0 in a jump insn.
...
* flow.c (try_redirect_by_replacing_jump): Correctly compute which
insns to delete in the presence of cc0 in a jump insn.
From-SVN: r44217
2001-07-21 03:05:09 +00:00
Nathan Sidwell
3461fba7ad
Remove old-abi remnants.
...
Remove old-abi remnants. Remove comments about old abi
behaviour. Remove refences to 'new-abi' in comments.
* cp-tree.h: Adjust comments.
(vbase_offsets_in_vtable_p): Delete.
(vcall_offsets_in_vtable_p): Delete.
(vptrs_present_everywhere_p): Delete.
(all_overridden_vfuns_in_vtables_p): Delete.
(merge_primary_and_secondary_vtables_p): Delete.
(TYPE_CONTAINS_VPTR_P): Adjust.
(VTT_NAME_PREFIX): Remove.
(CTOR_VTBL_NAME_PREFIX): Remove.
(init_vbase_pointers): Remove.
* class.c: Adjust coments.
(build_vbase_pointer_fields): Delete.
(build_vbase_pointer): Remove old-abi code.
(build_secondary_vtable): Likewise.
(modify_all_vtables): Likewise.
(create_vtable_ptr): Likewise.
(layout_class_type): Likewise.
(finish_struct_1): Likewise.
(finish_vtbls): Likewise.
(dfs_finish_vtbls): Delete.
(build_vbase_offset_vtbl_entries): Remove old-abi code.
* cvt.c: Adjust comments.
* decl.c: Adjust comments.
* decl2.c: Adjust comments.
* init.c: Adjust comments.
(construct_virtual_bases): Remove old-abi code.
* lang-specs.h: Remove -fno-new-abi.
* mangle.c: Adjust comments.
* rtti.c: Adjust comments.
(get_base_offset): Remove old-abi-code.
* search.c: Adjust comments.
(dfs_init_vbase_pointers): Remove.
(dfs_vtable_path_unmark): Remove.
(init_vbase_pointers): Remove.
* semantics.c: Adjust comments.
(emit_associated_thunks): Remove old-abi code.
* typeck.c: Adjust comments.
From-SVN: r44215
2001-07-21 00:03:21 +00:00
Richard Henderson
50b996bfb8
* doc/rtl.texi (REG_DEAD): Update for current semantics.
...
From-SVN: r44214
2001-07-20 15:23:25 -07:00
Jan Hubicka
6e9aac4600
Correct typo.
...
From-SVN: r44213
2001-07-20 20:47:35 +00:00
Roman Zippel
ed6ba1a5c3
m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead of doing the change by hand.
...
* m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
of doing the change by hand.
Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r44212
2001-07-20 20:19:12 +00:00
Jan Hubicka
38f4324cb9
expr.c (emit_single_push_insn): Add call to push expander.
...
* expr.c (emit_single_push_insn): Add call to push expander.
* expr.h (optab_index): Add OTI_push
(push_optab): New constant.
* genopinit.c (optabs): Add push_optab.
* optabs.c (init_optab): Init push optab.
* md.texi (push??1): Document
From-SVN: r44211
2001-07-20 20:10:42 +00:00
Jan Hubicka
371b8fc0bc
rtlanal.c (set_noop_p): Return true for noop jumps.
...
* rtlanal.c (set_noop_p): Return true for noop jumps.
* expr.c (emit_single_push_insn): Add call to push expander.
* expr.h (optab_index): Add OTI_push
(push_optab): New constant.
* genopinit.c (optabs): Add push_optab.
* optabs.c (init_optab): Init push optab.
* md.texi (push??1): Document
From-SVN: r44210
2001-07-20 20:07:58 +00:00
Stephane Carrez
00d0458c03
m68hc11.md ("movdi", [...]): Use an expand to emit the pattern; put a REG_INC note for push/pop instructions.
...
* config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
expand to emit the pattern; put a REG_INC note for push/pop
instructions.
("movdf", "movdf_internal"): Likewise.
("movsi", "movsi_internal"): Likewise.
("movsf", "movsf_internal"): Likewise.
("movhi", "movqi"): Emit a REG_INC note for push/pop instructions.
From-SVN: r44208
2001-07-20 21:43:19 +02:00
Stephane Carrez
d74e9142ac
m68hc11.c (m68hc11_gen_highpart): Don't use gen_highpart.
...
* config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
gen_highpart.
From-SVN: r44206
2001-07-20 21:34:56 +02:00
Daniel Berlin
1c432a87d9
Make-lang.in (cp/optimize.o): Depend on $(PARAMS_H), not params.h.
...
2001-07-20 Daniel Berlin <dan@cgsoftware.com>
* Make-lang.in (cp/optimize.o): Depend on $(PARAMS_H), not
params.h.
2001-07-20 Daniel Berlin <dan@cgsoftware.com>
* params.def: Change default max inline insns to 100.
From-SVN: r44203
2001-07-20 19:12:46 +00:00
Diego Novillo
9def18da54
combine.c (combine_simplify_rtx): Generate a new shift operation when simplifying the first operand of a (neg...
...
* combine.c (combine_simplify_rtx): Generate a new shift operation
when simplifying the first operand of a (neg (ashift)) expression.
From-SVN: r44202
2001-07-20 13:47:03 -04:00
Richard Henderson
d4845339d7
* regclass.c (N_REG_INTS): Use only 32 bits per element.
...
From-SVN: r44201
2001-07-20 09:55:03 -07:00
Kelley Cook
dbd210efc6
install.texi (sparc-sun-solaris*): Add in 4.x assembler bug information.
...
* doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
information. Move rest into ...
(*-*-solaris): ... here. Eliminate redundant information and
reword necessary packages section. Delete 4.x assembler bug info.
(sparc-sun-*): Merge into ...
(sparc-sun-sunos*): here.
From-SVN: r44198
2001-07-20 16:33:52 +00:00
Catherine Moore
3a97685a1d
v850.md (casesi): Generate LABEL_REF with Pmode.
...
* config/v850/v850.md (casesi): Generate LABEL_REF
with Pmode.
From-SVN: r44197
2001-07-20 09:42:57 -04:00
Toon Moene
eec9ac3d09
com.c (ffecom_expr_intrinsic_): case FFEINTRIN_impIBITS: Remove TREE_SHIFT_FULLWIDTH define.
...
2001-07-20 Toon Moene <toon@moene.indiv.nluug.nl>
* com.c (ffecom_expr_intrinsic_):
case FFEINTRIN_impIBITS: Remove TREE_SHIFT_FULLWIDTH define.
case FFEINTRIN_impISHFT: Ditto. Change LT_EXPR to NE_EXPR.
case FFEINTRIN_impISHFTC: Ditto.
case FFEINTRIN_impMVBITS: Ditto.
From-SVN: r44196
2001-07-20 13:27:40 +00:00
Jan Hubicka
4e01a8f6e5
oops, missed rej file.
...
From-SVN: r44195
2001-07-20 12:38:08 +00:00
Jan Hubicka
d24b34579f
i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
...
* i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
* i386.c (ix86_zero_extend_to_Pmode): Make global.
* i386.md (strclrsi expander): Use it.
From-SVN: r44194
2001-07-20 12:15:36 +00:00
Jan Hubicka
bc8d3f9122
integrate.c (copy_insn_list): handle NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
...
* integrate.c (copy_insn_list): handle
NOTE_INSN_DELETED_LABEL, as if it were CODE_LABEL.
(copy_rtx_and_substitute): Likewise; behave to NOTE_INSN_DELETED_LABEL
identically as to CODE_LABEL.
* fold-const (fold): Convert A/B/C to A/(B*C) and
A/(B/C) to (A/B)*C
* except.c (connect_post_landing_pads): Delete the RESX insns.
From-SVN: r44193
2001-07-20 11:30:13 +00:00
Toon Moene
08f66b0485
[multiple changes]
...
2001-07-20 David Billinghurst <David.Billinghurst@riotinto.org>
* g77.f-torture/compile/pr3743.f: New test
2001-07-20 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/execute/f90-intrinsic-bit.f: New test
From-SVN: r44192
2001-07-20 10:52:06 +00:00
Aldy Hernandez
e8919ea425
remove conflicts
...
From-SVN: r44191
2001-07-20 10:36:09 +00:00
Aldy Hernandez
1f28c666af
mips.h (ISA_HAS_NMADD_NMSUB): New macro.
...
* config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
* config/mips/mips.md (nmadd/nmsub): Use macro.
From-SVN: r44190
2001-07-20 10:35:33 +00:00
Aldy Hernandez
67159d5ef0
this is a test
...
From-SVN: r44189
2001-07-20 10:33:00 +00:00
Nathan Sidwell
002ee64f25
cppinit.c (remove_dup_dir): Make static.
...
* cppinit.c (remove_dup_dir): Make static.
(remove_dup_dirs): Make static. Only warn about preempting a
system directory with a non-system directory.
From-SVN: r44188
2001-07-20 10:30:47 +00:00
GCC Administrator
ef1846a7b8
Daily bump.
...
From-SVN: r44186
2001-07-20 07:16:10 +00:00
Geoffrey Keating
038fb2bca9
ifcvt.c (noce_try_store_flag_constants): Correct order of parameters to trunc_int_for_mode.
...
* ifcvt.c (noce_try_store_flag_constants): Correct order
of parameters to trunc_int_for_mode.
From-SVN: r44181
2001-07-20 03:59:19 +00:00
Mark Mitchell
be672de8ae
reorg.c (fill_simple_delay_slots): If an instruction might throw an exception that will be caught within this...
...
* reorg.c (fill_simple_delay_slots): If an instruction might throw
an exception that will be caught within this function, do not fill
its delay slot with any subsequent instruction.
From-SVN: r44171
2001-07-20 02:38:57 +00:00
Peter Schmid
3b73bce168
stl_algo.h: Fix typos.
...
2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/stl_algo.h : Fix typos.
* testsuite/25_algorithms/unique.cc: New file.
From-SVN: r44169
2001-07-20 01:17:13 +00:00
Phil Edwards
31bfa17776
backport: basic_string.h: Qualify symbols with 'template'.
...
2001-07-19 Phil Edwards <pme@sources.redhat.com>
Mark Mitchell <mark@codesourcery.com>
Merge from cp-parser-branch.
* include/bits/basic_string.h: Qualify symbols with 'template'.
* include/bits/basic_string.tcc: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/bits/istream.tcc: Likewise.
* include/bits/sstream.tcc: Likewise.
* include/bits/std_istream.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* include/bits/streambuf.tcc: Likewise.
* src/gen-num-limits.cc: Add 'template<>' to specializations.
* src/locale.cc: Likewise.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r44167
2001-07-20 00:09:31 +00:00
Steve Ellcey
6dd12198d0
* tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
...
* optabs.c (can_extend_p) Check HAVE_ptr_extend for a specialized
pointer extension instruction.
* combine.c (nonzero_bits,num_sign_bit_copies) Likewise.
* simplify-rtx.c (simplify_unary_operation) Likewise.
* explow.c (convert_memory_address) Check value of
POINTERS_EXTEND_UNSIGNED to avoid some conversions when
less than zero.
* config/ia64/t-hpux (LIBGCC, INSTALL_LIBGCC, MULTILIB_OPTIONS,
MULTILIB_DIRNAMES, MULTILIB_MATCHES) Add multilib support.
* config/ia64/hpux.h (CPP_SPEC, ASM_SPEC, SUBTARGET_SWITCHES)
Add Multilib Support.
(POINTERS_EXTEND_UNSIGNED) Define for ILP32 support.
* config/ia64/ia64.h (MASK_ILP32, TARGET_ILP32, SUBTARGET_SWITCHES)
Add Multilib Support.
(POINTER_SIZE, LONG_TYPE_SIZE, MAX_LONG_TYPE_SIZE) Modify for ILP32
support.
* config/ia64/ia64.c (rtx_needs_barrier) Add support for addp4.
* config/ia64/ia64.md (ptr_extend) New instruction to "swizzle"
a 32 bit HP-UX pointer into a 64 bit HP-UX pointer.
From-SVN: r44166
2001-07-19 16:26:51 -07:00
Alexandre Oliva
0248ce0547
simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from old and new operands in <',
3' and `b'.
...
2001-07-19 Alexandre Oliva <aoliva@redhat.com>
* simplify-rtx.c (simplify_replace_rtx): Try to obtain mode from
old and new operands in `<', `3' and `b'.
From-SVN: r44164
2001-07-19 22:42:07 +00:00
Neil Booth
e1772ac058
Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
...
* Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
(final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
(toplev.o): Don't depend on xcoffout.h.
* c-decl.c: Include debug.h
(duplicate_decls): Use debug hook.
* dbxout.c (dbxout_source_file, dbxout_args): Make static.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
(dbxout_types): Remove.
* dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
* debug.c (do_nothing_debug_hooks): Update.
(debug_true_tree, debug_nothing_rtx): New.
* debug.h (struct rtx_def): New.
(struct gcc_debug_hooks): New hooks ignore_block,
outlining_inline_function and label.
(debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
dwarf2out_frame_finish): New.
* dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
Make static, update prototype.
(dwarf2_debug_hooks): Update.
* dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
* dwarfout.c (dwarf_debug_hooks): Update.
* emit-rtl.c: Include debug.h.
(remove_unnecessary_notes): Use debug hook.
* final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
(final_scan_insn): Use debug hook.
* integrate.c (output_inline_function): Use debug hook.
* sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
(sdb_debug_hooks): Update.
* sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
* toplev.c: Don't include xcoffout.h.
(note_outlining_of_inline_function, debug_ignore_block): Remove.
* toplev.h (note_outlining_of_inline_function, debug_ignore_block):
Remove.
* tree.h (dwarf2out_do_frame): Remove.
From-SVN: r44163
2001-07-19 21:17:09 +00:00
Catherine Moore
77f43519e7
Restore ASM_OUTPUT_LABEL_REF definition.
...
From-SVN: r44162
2001-07-19 16:20:42 -04:00
Geoffrey Keating
c77fbfbea6
reload1.c (eliminate_regs_in_insn): When updating a set to the frame pointer to the hardware frame pointer...
...
* reload1.c (eliminate_regs_in_insn): When updating a set
to the frame pointer to the hardware frame pointer, perform
the update always not just when REPLACE is set.
From-SVN: r44161
2001-07-19 19:46:29 +00:00
Geoffrey Keating
eb4d554e37
reload1.c (choose_reload_regs): Don't inherit a reload that crosses multiple registers if...
...
* reload1.c (choose_reload_regs): Don't inherit a reload
that crosses multiple registers if registers past the first
don't fit in the desired class.
From-SVN: r44160
2001-07-19 19:45:24 +00:00
Jakub Jelinek
8d3216f82d
top.c (ffe_decode_option): Disallow lang-independent processing for -ffixed-form.
...
* top.c (ffe_decode_option): Disallow lang-independent processing
for -ffixed-form.
From-SVN: r44159
2001-07-19 21:44:12 +02:00
Geoffrey Keating
d54ef62c47
ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode when negating constants.
...
* ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
when negating constants.
From-SVN: r44158
2001-07-19 19:43:44 +00:00
Toon Moene
7d46d51652
tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
...
2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
* tree.def: Document restriction on {L|R}SHIFT_EXPR's second argument.
* doc/tree.texi: Ditto.
* f/com.c (ffecom_expr_intrinsic_): Cope with it.
From-SVN: r44156
2001-07-19 18:33:30 +00:00
Mark Kettenis
5442cf157b
unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
...
* unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
(extract_cie_info): Handle "eh" augmentation properly,
remember eh_ptr.
(struct frame_state, __frame_state_for): New.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r44155
2001-07-19 20:20:49 +02:00