OSDN Git Service
hjl [Sat, 21 Jul 2001 18:01:46 +0000 (18:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44231
138bc75d-0d04-0410-961f-
82ee72b054a4
ciceron [Sat, 21 Jul 2001 11:39:13 +0000 (11:39 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44229
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sat, 21 Jul 2001 09:42:21 +0000 (09:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44227
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sat, 21 Jul 2001 09:17:26 +0000 (09:17 +0000)]
Remove old-abi tests.
* g++.old-deja/g++.mike/p11116.C: Remove.
* g++.old-deja/g++.eh/catchptr1.C: Remove old-abi ifdef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44226
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 21 Jul 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44224
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 21 Jul 2001 04:20:08 +0000 (04:20 +0000)]
extra casting required by new pointer type
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44222
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 21 Jul 2001 04:08:29 +0000 (04:08 +0000)]
force unsigned char compares
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44219
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 21 Jul 2001 04:04:27 +0000 (04:04 +0000)]
incorporate patches from 3.0 branch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44218
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 21 Jul 2001 03:05:09 +0000 (03:05 +0000)]
* flow.c (try_redirect_by_replacing_jump): Correctly compute which
insns to delete in the presence of cc0 in a jump insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44217
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sat, 21 Jul 2001 00:03:21 +0000 (00:03 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44215
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 20 Jul 2001 22:23:25 +0000 (22:23 +0000)]
* doc/rtl.texi (REG_DEAD): Update for current semantics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44214
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 20 Jul 2001 20:47:35 +0000 (20:47 +0000)]
Correct typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44213
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 20 Jul 2001 20:19:12 +0000 (20:19 +0000)]
* m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
of doing the change by hand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44212
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 20 Jul 2001 20:10:42 +0000 (20:10 +0000)]
* 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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44211
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 20 Jul 2001 20:07:58 +0000 (20:07 +0000)]
* 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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44210
138bc75d-0d04-0410-961f-
82ee72b054a4
ciceron [Fri, 20 Jul 2001 19:43:19 +0000 (19:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44208
138bc75d-0d04-0410-961f-
82ee72b054a4
ciceron [Fri, 20 Jul 2001 19:34:56 +0000 (19:34 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
gen_highpart.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44206
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Fri, 20 Jul 2001 19:12:46 +0000 (19:12 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44203
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 20 Jul 2001 17:47:03 +0000 (17:47 +0000)]
* combine.c (combine_simplify_rtx): Generate a new shift operation
when simplifying the first operand of a (neg (ashift)) expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44202
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 20 Jul 2001 16:55:03 +0000 (16:55 +0000)]
* regclass.c (N_REG_INTS): Use only 32 bits per element.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44201
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 20 Jul 2001 16:33:52 +0000 (16:33 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44198
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 20 Jul 2001 13:42:57 +0000 (13:42 +0000)]
* config/v850/v850.md (casesi): Generate LABEL_REF
with Pmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44197
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Fri, 20 Jul 2001 13:27:40 +0000 (13:27 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44196
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 20 Jul 2001 12:38:08 +0000 (12:38 +0000)]
oops, missed rej file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44195
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 20 Jul 2001 12:15:36 +0000 (12:15 +0000)]
* i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
* i386.c (ix86_zero_extend_to_Pmode): Make global.
* i386.md (strclrsi expander): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44194
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 20 Jul 2001 11:30:13 +0000 (11:30 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44193
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Fri, 20 Jul 2001 10:52:06 +0000 (10:52 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44192
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 20 Jul 2001 10:36:09 +0000 (10:36 +0000)]
remove conflicts
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44191
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 20 Jul 2001 10:35:33 +0000 (10:35 +0000)]
* config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
* config/mips/mips.md (nmadd/nmsub): Use macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44190
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Fri, 20 Jul 2001 10:33:00 +0000 (10:33 +0000)]
this is a test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44189
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 20 Jul 2001 10:30:47 +0000 (10:30 +0000)]
* cppinit.c (remove_dup_dir): Make static.
(remove_dup_dirs): Make static. Only warn about preempting a
system directory with a non-system directory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44188
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 20 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44186
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 20 Jul 2001 03:59:19 +0000 (03:59 +0000)]
* ifcvt.c (noce_try_store_flag_constants): Correct order
of parameters to trunc_int_for_mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44181
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 20 Jul 2001 02:38:57 +0000 (02:38 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44171
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 20 Jul 2001 01:17:13 +0000 (01:17 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44169
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 20 Jul 2001 00:09:31 +0000 (00:09 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44167
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 19 Jul 2001 23:26:51 +0000 (23:26 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44166
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 19 Jul 2001 22:42:07 +0000 (22:42 +0000)]
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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44164
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 19 Jul 2001 21:17:09 +0000 (21:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44163
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Thu, 19 Jul 2001 20:20:42 +0000 (20:20 +0000)]
Restore ASM_OUTPUT_LABEL_REF definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44162
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 19 Jul 2001 19:46:29 +0000 (19:46 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44161
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 19 Jul 2001 19:45:24 +0000 (19:45 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44160
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 19 Jul 2001 19:44:12 +0000 (19:44 +0000)]
* top.c (ffe_decode_option): Disallow lang-independent processing
for -ffixed-form.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44159
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 19 Jul 2001 19:43:44 +0000 (19:43 +0000)]
* ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
when negating constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44158
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Thu, 19 Jul 2001 18:33:30 +0000 (18:33 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44156
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 19 Jul 2001 18:20:49 +0000 (18:20 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44155
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Thu, 19 Jul 2001 18:08:17 +0000 (18:08 +0000)]
* config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
HANDLE_SYSV_PRAGMA): Define.
* mips-tfile.c (add_ext_symbol): Pass complete symbol ptr, inline
previous args.
(copy_object): Caller changed.
testsuite:
* g++.old-deja/g++.pt/static3.C: Removed alpha*-*-osf* XFAIL.
g++.old-deja/g++.pt/static6.C: Likewise.
* lib/target-supports.exp (check_weak_available): alpha*-*-osf*
supports weak symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44153
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Thu, 19 Jul 2001 14:03:08 +0000 (14:03 +0000)]
* libjava.lang/PR3731.java: New file.
* libjava.lang/PR3731.out: New file.
* libjava.lang/PR3731.xfail: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44151
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Thu, 19 Jul 2001 09:59:50 +0000 (09:59 +0000)]
* configure.in (assembler dwarf2 debug_line support): Define nop
insn for m68k.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44149
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 19 Jul 2001 07:22:40 +0000 (07:22 +0000)]
* class.c (finish_struct_anon): Forbid nested classes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44148
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 19 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44146
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 19 Jul 2001 06:22:04 +0000 (06:22 +0000)]
* Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
dwarfout.h.
* dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
to conditionally compiled block.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
* dbxout.h (dbxout_function): Remove.
* debug.c (do_nothing_debug_hooks): Update.
* debug.h (struct gcc_debug_hooks): New hooks function_decl,
global_decl, deferred_inline_function.
* dwarf2out.c (dwarf2_debug_hooks): Update.
(dwarf2out_global_decl): New.
* dwarfout.c: Don't include dwarfout.h.
(dwarfout_global_decl, dwarfout_function_decl,
dwarfout_deferred_inline_function): New.
(dwarf_debug_hooks): Update.
* dwarfout.h: Remove.
* final.c: Don't include dwarfout.h.
* sdbout.c (sdbout_global_decl): New.
(sdbout_debug_hooks): Update.
* toplev.c: Don't include dwarfout.h.
(check_global_declarations, rest_of_compilation): Use new debug hooks.
(note_deferral_of_defined_inline_function): Remove.
* toplev.h (note_deferral_of_defined_inline_function): Remove.
* ch/Makefile.in (lex.o): No dependence on dwarfout.h.
* ch/lex.c: Don't include dwarfout.h.
* cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
(semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
* cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
* cp/optimize.c: Include debug.h.
(maybe_clone_body): Use debug hook.
* cp/semantics.c: Include debug.h.
(expand_body): Use debug hook.
* po/POTFILES.in: Remove dwarfout.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44145
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 19 Jul 2001 06:12:50 +0000 (06:12 +0000)]
* c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
* c-parse.in (yyerror, _yylex): Similarly.
* cppexp.c (parse_number, parse_defined, lex, _cpp_parse_expr):
Don't use CPP_INT, CPP_FLOAT; CPP_NUMBER is enough.
Update comments.
* cpplib.h (CPP_INT, CPP_FLOAT): Remove.
* cp/spew.c (read_token, yyerror): Remove CPP_INT, CPP_FLOAT cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44144
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 19 Jul 2001 04:27:16 +0000 (04:27 +0000)]
* class.c (type_requires_array_cookie): New function.
(check_methods): Don't try to figure out whether the type needs a
cookie here.
(check_bases_and_members): Set TYPE_VEC_NEW_USES_COOKIE here.
* cp-tree.h (TYPE_VEC_DELETE_TAKES_SIZE): Remove.
(TYPE_VEC_NEW_USES_COOKIE): Reimplement.
* pt.c (instantiate_class_template): Don't set
TYPE_VEC_DELETE_TAKES_SIZE.
* NEWS: Document ABI changes from GCC 3.0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44142
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Thu, 19 Jul 2001 03:50:07 +0000 (03:50 +0000)]
* dwarf2out.c (dwarf2out_abstract_function): Don't emit
in-class declaration at -g1. Fixes c++/2814.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44141
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Thu, 19 Jul 2001 03:06:01 +0000 (03:06 +0000)]
* src/gen-num-limits.cc (set_signals_handler): New function.
Factor out signals setting. Set signal handler for SIGILL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44139
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 18 Jul 2001 23:40:00 +0000 (23:40 +0000)]
merge from glibc
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44138
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 18 Jul 2001 22:02:07 +0000 (22:02 +0000)]
Fix markup for reload_in/out.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44137
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Wed, 18 Jul 2001 21:37:06 +0000 (21:37 +0000)]
2001-07-18 Phil Edwards <pme@sources.redhat.com>
* docs/html/27_io/howto.html: Fix typo.
* docs/html/faq/index.html: Minor updates for 3.0 all around.
* docs/html/faq/index.txt: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44135
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 18 Jul 2001 21:34:15 +0000 (21:34 +0000)]
* doc/md.texi (reload_in/out): Document restrictions in predicates
and constraints for these patterns. Document empty string matching
ALL_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44134
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Wed, 18 Jul 2001 20:50:54 +0000 (20:50 +0000)]
2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
* libI77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
these defines before tests which might be affected by them.
(_XOPEN_SOURCE_EXTENDED): Define.
* libI77/configure, libI77/config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44133
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Wed, 18 Jul 2001 20:43:40 +0000 (20:43 +0000)]
* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44131
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Wed, 18 Jul 2001 20:39:52 +0000 (20:39 +0000)]
* java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC
2533 socket options IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP, falling
back to old RFC 2133 variants if missing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44130
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Wed, 18 Jul 2001 19:09:25 +0000 (19:09 +0000)]
* NEWS (Changes in GCC 3.0): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44128
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 18 Jul 2001 18:52:41 +0000 (18:52 +0000)]
* cse.c: Undo my previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44126
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 18 Jul 2001 18:35:12 +0000 (18:35 +0000)]
* java/io/natFileWin32.cc (_access): Renamed.
(_stat): Likewise.
* java/io/natFile.cc (_access): Renamed.
(_stat): Likewise.
* java/io/File.java (access, stat): Add leading `_' to name.
Updated all callers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44124
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 18 Jul 2001 17:58:37 +0000 (17:58 +0000)]
2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
Roman Sulzhyk <roman_sulzhyk@yahoo.com>
libstdc++/3599
* include/bits/ostream.tcc (ostream::put): Fixed error condition check.
* testsuite/27_io/streambuf.cc (test07): Added new regression test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44122
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 18 Jul 2001 17:18:55 +0000 (17:18 +0000)]
For PR java/2812:
* lex.h: Use HAVE_ICONV, not HAVE_ICONV_H.
* lex.c (java_new_lexer): Use ICONV_CONST.
(java_read_char): Likewise.
* Make-lang.in (jc1$(exeext)): Link against LIBICONV.
(jv-scan$(exeext)): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44120
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 18 Jul 2001 17:17:03 +0000 (17:17 +0000)]
For PR java/2812:
* configure: Rebuilt.
* configure.in: Don't check for iconv.h or iconv(); use AM_ICONV
instead.
* aclocal.m4 (AM_ICONV): New macro from Bruno Haible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44119
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 18 Jul 2001 17:11:11 +0000 (17:11 +0000)]
* flow.c (redirect_edge_and_branch): Bail out on complex edges.
(try_optimize_cfg): Do not remove tail recursive labels before sibcall.
* jump.c (mark_jump_label): Do not forward branches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44118
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 18 Jul 2001 17:09:02 +0000 (17:09 +0000)]
2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
All occurrences of the __value_type() and __distance_type()
functions, which were required to support the HP STL, have been
removed along with all the auxiliary forwarding functions that
were required to support their use.
The __iterator_category() function was pretty much left alone
because there was no benefit to removing it and its use made code
just a little more readable.
Incidences of distance() with nonstandard argument list were
replaced by calls to the standard function (only in the files
affected by the removal of the other HP functions).
The signature of the rotate() algorithm was changed to match the
standard.
Headers were reformatted under C++STYLE guidelines (indentation,
linebreaks, typename keyword).
* include/bits/stl_algo.h: replaced __value_type() and
__distance_type() with iterator_traits, eliminated auxiliary
support functions required to support said function usage.
Changed nonstandard distance() call to standard call.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_heap.h: Same.
* include/bits/stl_numeric.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_iterator_base_types.h (__value_type()):
Removed.
(__distance_type()): Removed.
(value_type()): Gone.
(distance_type()): Done in.
(iterator_category()): Hasta la vista, baby.
* include/bits/stl_iterator_base_funcs.h (iterator_category()):
Replaced with __iterator_category().
* include/backward/iterator.h: moved definition of value_type(),
distance_type(), and iterator_category() out of std:: and into
here.
* testsuite/23_containers/vector_ctor.cc (test03): New testcases.
* testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
* testsuite/25_algorithms/rotate.cc: New testcase.
* testsuite/25_algorithms/copy.cc: New testcase.
* testsuite/25_algorithms/sort.cc: Same.
* testsuite/25_algorithms/heap.cc: Same.
* testsuite/25_algorithms/partition.cc: Same.
* testsuite/25_algorithms/binary_search.cc: Same.
* testsuite/26_numerics/sum_diff.cc: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44117
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 18 Jul 2001 17:06:24 +0000 (17:06 +0000)]
For PR java/2812:
* libgcj.spec.in (*lib): Added LIBICONV.
* configure: Rebuilt.
* configure.in: Call AM_ICONV. Don't check for iconv function.
Add parameters to JV_HASH_SYNCHRONIZATION define.
* acinclude.m4 (AM_ICONV): New macro, from Bruno Haible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44116
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 18 Jul 2001 16:36:33 +0000 (16:36 +0000)]
* cse.c (delete_trivially_dead_insns): Delete the libcall block
when return value is unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44112
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 18 Jul 2001 16:29:50 +0000 (16:29 +0000)]
* gcse.c (pre_insert_copy_insn): Call update_ld_motion_stores.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44111
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 18 Jul 2001 16:26:45 +0000 (16:26 +0000)]
* g++.dg/vtgc1.C: Revert patch from 2001-04-26 since vtable-gc is
supported again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44110
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 18 Jul 2001 15:16:10 +0000 (15:16 +0000)]
* libU77/configure.in (_XOPEN_SOURCE, _FILE_OFFSET_BITS): Move
these defines before tests which might be affected by them.
(_XOPEN_SOURCE_EXTENDED): Define.
* libU77/configure, libU77/config.hin: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44108
138bc75d-0d04-0410-961f-
82ee72b054a4
nicola [Wed, 18 Jul 2001 11:55:24 +0000 (11:55 +0000)]
Save a function call in common mutex locking/unlocking operations
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44107
138bc75d-0d04-0410-961f-
82ee72b054a4
nicola [Wed, 18 Jul 2001 11:54:03 +0000 (11:54 +0000)]
Save a function call on mutex locking/unlocking
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44106
138bc75d-0d04-0410-961f-
82ee72b054a4
nicola [Wed, 18 Jul 2001 11:22:37 +0000 (11:22 +0000)]
Fixed bug in gthr-posix.h - buggy backend thread functions for objective-c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44105
138bc75d-0d04-0410-961f-
82ee72b054a4
nicola [Wed, 18 Jul 2001 11:21:20 +0000 (11:21 +0000)]
Fixed backend function of objc_mutex_trylock which was broken
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44104
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 18 Jul 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44100
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 18 Jul 2001 07:13:09 +0000 (07:13 +0000)]
* gcc.dg/iftrap-1.c: Fix target line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44099
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 18 Jul 2001 06:35:24 +0000 (06:35 +0000)]
* integrate.c (output_inline_function): Correct type of debug_hooks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44098
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Wed, 18 Jul 2001 05:26:38 +0000 (05:26 +0000)]
2001-07-18 Toon Moene <toon@moene.indiv.nluug.nl>
* combine.c (combine_simplify_rtx): DIV can be treated
associatively for floats if unsafe math optimisations are enabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44097
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 18 Jul 2001 03:32:46 +0000 (03:32 +0000)]
* reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44096
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 18 Jul 2001 03:24:53 +0000 (03:24 +0000)]
* calls.c (prepare_call_address): New parameter SIBCALLP. If true,
don't force the function address into a register.
(expand_call, emit_library_call_value_1): Update callers.
* builtins.c (expand_builtin_apply): Likewise.
* expr.h (prepare_call_address): Update decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44095
138bc75d-0d04-0410-961f-
82ee72b054a4
cchavva [Wed, 18 Jul 2001 03:10:10 +0000 (03:10 +0000)]
* config.gcc: For *-*-chorusos triplet, get chorus.h file from
config directory.
* config/i386/chorus.h: Move up.
* config/sparc/chorus.h: Likewise.
* config/rs6000/chorus.h: Likewise.
* config/chorus.h: Moved here
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44094
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Tue, 17 Jul 2001 23:59:07 +0000 (23:59 +0000)]
2001-07-13 Alexandre Petit-Bianco <apbianco@redhat.com>
* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Removed unused
local `_ebp.'
(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00070.html )
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44093
138bc75d-0d04-0410-961f-
82ee72b054a4
cchavva [Tue, 17 Jul 2001 21:54:37 +0000 (21:54 +0000)]
* config.gcc: For *-*-chorusos triplet, get chorus.h file from
config directory.
* config/i386/chorus.h: Move up.
* config/sparc/chorus.h: Likewise.
* config/rs6000/chorus.h: Likewise.
* config/chorus.h: Moved here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44092
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Tue, 17 Jul 2001 21:51:19 +0000 (21:51 +0000)]
* configure.in (assembler eh_frame optimization): Handle big
endian.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44091
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 17 Jul 2001 21:44:57 +0000 (21:44 +0000)]
* expr.c (epxand_expr): Convert divisions into multiplications by
reciprocals if -ffast-math.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44090
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 17 Jul 2001 19:47:58 +0000 (19:47 +0000)]
* dbxout.c (dbxout_really_begin_function): Rename to
dbxout_begin_function.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
(dbxout_begin_function): Remove.
(dbxout_function): Update.
(dbxout_source_line): Update prototype.
* dbxout.h (dbxout_begin_function): Remove.
* debug.c (do_nothing_debug_hooks): Update.
(debug_nothing_tree): Update.
(debug_nothing_charstar_rtx): Remove.
* debug.h (union tree_node): Declare.
(struct rtx_def): Remove.
(gcc_debug_hooks): New hooks begin_prologue, end_prologue,
begin_function. Change source_line prototype.
(debug_nothing_tree): New.
(debug_nothing_charstar_rtx): Delete.
(dwarf2out_begin_prologue): Moved from ...
* tree.h: ... here.
* dwarf2out.c (dwarf2_debug_hooks): Update.
(dwarf2out_begin_prologue): Update prototype. If genuine dwarf2
debug info, call dwarf2out_source_line.
(dwarf2out_souce_line): Update prototype.
* dwarfout.c (dwarfout_begin_function): Rename dwarfout_end_prologue.
Change prototype, make static.
(dwarfout_source_line): Update prototype.
(dwarf_debug_hooks): Update.
* dwarfout.h (dwarfout_begin_function): Remove.
* final.c (final_start_function, final_scan_insn): Use appropriate
debug hooks, update to use notice_source_line.
(output_source_line): Rename notice_source_line. Don't call the
source_line debug hook.
* sdbout.c (sdbout_begin_function): Rename sdbout_begin_prologue,
make static, update prototype.
(sdbout_mark_begin_function): Rename sdbout_begin_function, update
prototype.
(sdbout_end_prologue): New.
(sdbout_source_line): Update prototype.
(sdbout_debug_hooks): Update.
(sdbout_symbol): Remove unused var.
* sdbout.h (sdbout_begin_function, sdbout_mark_begin_function):
Delete.
* varasm.c: Include debug.h.
(assemble_start_function): Use begin_function debug_hook.
* xcoffout.c (xcoffout_begin_prologue): Rename xcoffout_begin_function,
update with prototype.
(xcoffout_source_line): Update prototype.
* xcoffout.h (xcoffout_begin_prologue): Rename xcoffout_begin_function,
update prototype.
(xcoffout_source_line): Update prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44087
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 17 Jul 2001 19:01:54 +0000 (19:01 +0000)]
* c-typeck.c (build_binary_op): Do not shorten unsigned
right shift after sign extension.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44080
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 17 Jul 2001 18:47:34 +0000 (18:47 +0000)]
2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/README: Add notes on naming test cases.
* testsuite/22_locale/members.cc: Mark as xfail.
* testsuite/22_locale/numpunct_char_members.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44076
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 17 Jul 2001 18:43:28 +0000 (18:43 +0000)]
2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/README: Add notes on naming test cases.
* testsuite/22_locale/members.cc: Mark as xfail.
* testsuite/22_locale/numpunct_char_members.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44074
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 17 Jul 2001 15:11:56 +0000 (15:11 +0000)]
* combine.c (combine_simplify_rtx): Attempt to simplify
a*(b/c) as (a*b)/c for floats in unsafe_math mode.
* simplify-rtx.c (avoid_constatn_pool_reference): New static function.
(simplify_binary_operation, simplify_unary_operation,
simplify_relational_operation): Use it.
* combine.c (combine_simplify_rtx): Don't do associative law
on divisions; allow associative law on floats.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44073
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Tue, 17 Jul 2001 12:55:19 +0000 (12:55 +0000)]
* c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
ASM_OUTPUT_WEAK_ALIAS are defined.
* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
* config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
Moved ...
* config/mips/iris5.h: ... here.
(HANDLE_SYSV_PRAGMA): Defined as 1.
* varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
* doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
symbol.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44072
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 17 Jul 2001 11:58:54 +0000 (11:58 +0000)]
* c-parse.in (all_prefix_attributes): New variable.
(PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): New macros.
(maybe_resetattrs): New production.
(c_parse_init, datadef, fndef, datadecl, setspecs, setattrs, decl,
maybe_type_quals_setattrs, initdecls, notype_initdecls, initdcl,
notype_initdcl, nested_function, notype_nested_function,
component_decl, components, components_notype,
component_declarator, component_notype_declarator,
absdcl_maybe_attribute, parm, firstparm, setspecs_fp, ivar_decl,
ivars, mydecl, myparm): Update. Avoid prefix attributes just
after a comma being applied to more than one declarator.
* doc/extend.texi (Attribute Syntax): Update. Remove
documentation of bugs that are no longer present.
testsuite:
* gcc.c-torture/compile/
20010714-1.c, gcc.dg/format/attr-4.c: New
tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44070
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Tue, 17 Jul 2001 10:42:57 +0000 (10:42 +0000)]
2001-07-17 Toon Moene <toon@moene.indiv.nluug.nl>
* com.c (lang_print_error_function): Argument context
is unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44069
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 17 Jul 2001 10:29:18 +0000 (10:29 +0000)]
2001-07-16 Eric Christopher <echristo@redhat.com>
* config/mips/mips.h: Change TUNE_MIPS* options to use
mips_tune.
(EXTRA_SPECS): Add cc1_cpu_spec.
* config/mips/mips.md (muldf3): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44068
138bc75d-0d04-0410-961f-
82ee72b054a4