Lars Brinkhoff [Mon, 23 Jul 2001 20:33:40 +0000 (20:33 +0000)]
tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT and C4X_FLOAT_FORMAT.
* tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
and C4X_FLOAT_FORMAT.
(BOOL_TYPE_SIZE): Document.
From-SVN: r44277
Tom Tromey [Mon, 23 Jul 2001 20:01:29 +0000 (20:01 +0000)]
javaprims.h: Rebuilt class list.
* gcj/javaprims.h: Rebuilt class list.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added VMClassLoader.
* java/lang/VMClassLoader.java: New file.
* java/lang/Boolean.java: Merged with Classpath.
* java/lang/Byte.java: Merged with Classpath.
* java/lang/Integer.java: Merged with Classpath.
* java/lang/Long.java: Merged with Classpath.
* java/lang/Number.java: Merged with Classpath.
* java/lang/Short.java: Merged with Classpath.
From-SVN: r44274
Clinton Popetz [Mon, 23 Jul 2001 16:58:29 +0000 (12:58 -0400)]
unroll.c (loop_iterations): Fix miscalculation of initial giv offset.
* unroll.c (loop_iterations): Fix miscalculation of initial
giv offset.
From-SVN: r44272
David Edelsohn [Mon, 23 Jul 2001 16:41:03 +0000 (16:41 +0000)]
limits_generic.h (int): Set digits and digits10 appropriately for word size.
* include/bits/limits_generic.h (int): Set digits and digits10
appropriately for word size.
(unsigned int,long,unsigned long): Likewise.
From-SVN: r44271
Jeffrey A Law [Mon, 23 Jul 2001 16:13:51 +0000 (16:13 +0000)]
* gcc.c-torture/execute/
20010723-1.c: New test.
From-SVN: r44270
Andrew Haley [Mon, 23 Jul 2001 16:00:06 +0000 (16:00 +0000)]
tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
2001-07-13 Andrew Haley <aph@redhat.com>
* doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
* config/sh/sh.h (MD_CAN_REDIRECT_BRANCH): New macro.
* config/sh/sh.c (sh_can_redirect_branch): New function.
* config/sh/sh-protos.h (sh_can_redirect_branch): Declare.
* reorg.c (steal_delay_list_from_target): Use
MD_CAN_REDIRECT_BRANCH to see if redirection is possible.
From-SVN: r44269
Jan Hubicka [Mon, 23 Jul 2001 15:27:33 +0000 (17:27 +0200)]
flow.c (try_simplify_condjump): Unlink insn chain on fallthru edge; use can_fallthru.
* flow.c (try_simplify_condjump): Unlink insn chain on
fallthru edge; use can_fallthru.
From-SVN: r44268
Jan Hubicka [Mon, 23 Jul 2001 14:08:12 +0000 (16:08 +0200)]
basic-block.h (find_sub_basic_block): Declare.
* basic-block.h (find_sub_basic_block): Declare.
* flow.c (make_edges): New arguments MIN and MAX;
(find_sub_basic_blocks): Revamp to use make_edges
and purge_dead_edges.
(find_basic_blocks): Update call of find_sub_basic_block.
* recog.c (split_all_insns): Always expect CFG to be consistent;
call find_sub_basic_blocks in case something has changed.
* toplev.c (rest_of_compilation): Always call split_all_insns once CFG
has been built.
* basic-block.h (delete_noop_moves): Declare.
* combine.c (combine_instructions): Call it.
(recog_for_combine): Tolerate noop moves
(distribute_notes): Force refresh when register dies at noop move.
* flow.c (delete_noop_moves): Use BB structure; delete JUMP insns
too.
(life_analysis): Update delete_noop_moves call.
(set_noop_p): Move too ...
* rtlanal.c (noop_move_p): ... here.
* rtl.h (noop_move_p): Declare.
* basic-block.h (purge_all_dead_edges, purge_dead_edges): New functions.
* toplev.c (rest_of_compilation): Conditionally call purge_all_dead_edges
after combine.
* gcse.c (cprop_cc0_jump, cprop_insn): New argument "basic_block".
(cprop_jump): Likewise; call purge_dead_edges if substitution suceeded.
From-SVN: r44267
Jan Hubicka [Mon, 23 Jul 2001 13:55:28 +0000 (15:55 +0200)]
* analyze_brprob: Fix awk compatibility problems; update comment.
From-SVN: r44266
Ulrich Weigand [Mon, 23 Jul 2001 13:41:06 +0000 (13:41 +0000)]
MAINTAINERS (Various maintainers: s390 port): Added myself.
From-SVN: r44265
Hans-Peter Nilsson [Mon, 23 Jul 2001 13:21:39 +0000 (13:21 +0000)]
reload.c (push_reload): Fix typo in comment.
* reload.c (push_reload): Fix typo in comment.
(find_reloads_address): Ditto.
(reg_overlap_mentioned_for_reload_p): Ditto in head comment.
From-SVN: r44264
Andreas Jaeger [Mon, 23 Jul 2001 13:21:13 +0000 (15:21 +0200)]
* analyze_brprob: Fix more typos.
From-SVN: r44263
Andreas Jaeger [Mon, 23 Jul 2001 10:39:58 +0000 (12:39 +0200)]
* analyze_brprob: Fix typos.
From-SVN: r44262
GCC Administrator [Mon, 23 Jul 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44258
Richard Henderson [Mon, 23 Jul 2001 07:03:34 +0000 (00:03 -0700)]
flow.c: Grammar check and clarify a lot of comments.
* flow.c: Grammar check and clarify a lot of comments.
(try_simplify_condjump): Rename variables to be clearer.
(try_forward_edges): Skip complex and fallthru edges.
Rearrange tests to avoid duplicate checks.
(flow_find_cross_jump): Likewise.
(outgoing_edges_match): Allow match if neither branch has
probability data. Loosen probability match to 5%.
(try_crossjump_to_edge): Hoist repeated indirection into
local variables.
(try_crossjump_bb): Don't check complex edges. Eliminate
redundant crossjump tests.
(try_optimize_cfg): Fix use of bool. Reorganize cheaper
checks before more expensive checks.
From-SVN: r44257
Graham Stott [Mon, 23 Jul 2001 06:34:51 +0000 (06:34 +0000)]
class.c (type_requires_array_cookie): Fix use of uninitialised variable has_two_argument_delete_p.
* cp/class.c (type_requires_array_cookie): Fix use of uninitialised
variable has_two_argument_delete_p.
From-SVN: r44256
Richard Henderson [Mon, 23 Jul 2001 06:00:06 +0000 (23:00 -0700)]
fold-const.c (fold): Test vs FLOAT_TYPE_P instead of INTEGRAL_TYPE_P when...
* fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
arguments.
From-SVN: r44255
Ben Elliston [Mon, 23 Jul 2001 05:35:26 +0000 (05:35 +0000)]
enum5.C: Mark as XFAIL.
2001-07-23 Ben Elliston <bje@redhat.com>
* g++.old-deja/g++.other/enum5.C: Mark as XFAIL.
From-SVN: r44253
Richard Henderson [Mon, 23 Jul 2001 04:46:53 +0000 (21:46 -0700)]
m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
* m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
(const_sint32_operand): Likewise.
* m68k.md (anon mulsi pattern): Use const_int_operand not
const_sint32_operand.
(umulsi3_highpart): Zero extend a constant input.
(smulsi3_highpart): Don't bother checking SImode constant.
(const_umulsi3_highpart): Give op3 DImode.
(const_smulsi3_highpart): Likewise.
From-SVN: r44252
Jeff Sturm [Mon, 23 Jul 2001 03:51:17 +0000 (03:51 +0000)]
configure.host: Enable hash synchronization for alpha*-*.
* configure.host: Enable hash synchronization for alpha*-*.
* include/posix-threads.h (_Jv_ThreadSelf): Added inline function for alpha.
* java/lang/natObject.cc (compare_and_swap, release_set,
compare_and_swap_release): Added inline functions for alpha.
From-SVN: r44251
Richard Henderson [Sun, 22 Jul 2001 22:49:00 +0000 (15:49 -0700)]
flow.c (split_block): Make sure bb_note is included in the new block when splitting before a label.
* flow.c (split_block): Make sure bb_note is included in the
new block when splitting before a label.
From-SVN: r44250
Jan Hubicka [Sun, 22 Jul 2001 21:42:35 +0000 (23:42 +0200)]
basic-block.h (redirect_edge_and_branch_force, [...]): Declare.
* basic-block.h (redirect_edge_and_branch_force,
redirect_edge_and_branch, block_label, forwarder_block_p): Declare.
* flow.c (redirect_edge_and_branch_force,
redirect_edge_and_branch, block_label, forwarder_block_p): Make global.
(redirect_edge_and_branch_force): Fix copying of lifeness information.
(block_label): Handle EXIT_BLOCK_PTR by returning NULL.
* ifcvt.c (dead_or_predictable): Take BB as an new destionation
instead of label; update CFG after transformation.
(find_if_case_1): Update call, use redirect_edge_and_branch_force
for finishing the transformation; handle even case where ELSE
does not follow THEN.
(find_if_case_2): Update call of dead_or_predictable; simplify
CFG update.
* emit-rtl.c (split_branch_probability): New global variable.
(try_split): Take care to set split_branch_probability and
create REG_BR_PROB note for new jump insns.
* md.texi (define_split): Document new feature.
* i386.c (ix86_split_fp_branch): Redistribute branch probability notes.
From-SVN: r44249
Neil Booth [Sun, 22 Jul 2001 21:33:57 +0000 (21:33 +0000)]
varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
* varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
(asm_out_file): Remove redundant declaration.
(assemble_asm): Remove old #if 0 block.
(assemble_variable): Remove end of function; debug output is
now handled with global_decl. Remove old #if 0 block. Update.
Remove saved_in_section and associated no-op code.
* Makefile.in (varasm.o): Correct dependencies.
From-SVN: r44248
Alexandre Oliva [Sun, 22 Jul 2001 21:15:45 +0000 (21:15 +0000)]
freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use the definition in defaults.h.
* config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
the definition in defaults.h.
From-SVN: r44247
Jan Hubicka [Sun, 22 Jul 2001 19:34:13 +0000 (21:34 +0200)]
jump.c: Update comments.
* jump.c: Update comments.
(delete_barrier_successors, delete_unreferenced_labels,
delete_noop_moves, tension_vector_labels, delete_from_jump_chain,
delete_labelref_insn, redirect_tablejump, jump_optimize_1,
jump_optimize, jump_optimize_minimal): Kill.
(rebuild_jump_labels): Move code from jump_optimize_1.
(purge_line_number_notes): Likewise.
(copy_loop_headers): Likewise.
* reg-stack.c: Update comment.
* stmt.c: Likewise.
* rtl.h (jump_optimize, jump_optimize_1, JUMP_NOOP_MOVES,
JUMP_AFTER_REGSCAN): Kill.
* toplev.c (rest_of_compilation): Use cleanup_cfg, call
purge_line_number_notes and copy_loop_headers.
From-SVN: r44245
Neil Booth [Sun, 22 Jul 2001 17:02:53 +0000 (17:02 +0000)]
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: r44243
Richard Henderson [Sun, 22 Jul 2001 16:02:06 +0000 (09:02 -0700)]
alpha.c (get_trap_mode_suffix): New.
* config/alpha/alpha.c (get_trap_mode_suffix): New.
(get_round_mode_suffix): New.
(print_operand): Use them for [/]. Remove support for [&'`()+].
* config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Update.
* config/alpha/alpha.md (attr round_suffix): New.
(attr trap_suffix): New.
(all insns): Set them appropriately. Use %/ instead of the
myriad punctuators.
From-SVN: r44242
Franz Sirl [Sun, 22 Jul 2001 10:10:09 +0000 (10:10 +0000)]
ieee.exp: Only use -ffloat-store only on i[34567]86-*-*.
2001-07-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/ieee/ieee.exp: Only use -ffloat-store only on
i[34567]86-*-*.
Delete handling of ieee_multilib_flags.
Pass -mieee for alpha*-*-* and sh-*-*.
* gcc.c-torture/execute/
20010114-2.c: Move into ieee subdir.
From-SVN: r44238
Neil Booth [Sun, 22 Jul 2001 09:42:47 +0000 (09:42 +0000)]
* dbxout.c, sdbout.c, varasm.c: Revert most recent patch.
From-SVN: r44237
GCC Administrator [Sun, 22 Jul 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44236
Richard Henderson [Sun, 22 Jul 2001 07:10:46 +0000 (00:10 -0700)]
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
Neil Booth [Sat, 21 Jul 2001 23:17:26 +0000 (23:17 +0000)]
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
H.J. Lu [Sat, 21 Jul 2001 18:01:46 +0000 (18:01 +0000)]
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
Stephane Carrez [Sat, 21 Jul 2001 11:39:13 +0000 (13:39 +0200)]
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
Nathan Sidwell [Sat, 21 Jul 2001 09:42:21 +0000 (09:42 +0000)]
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
Nathan Sidwell [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.
From-SVN: r44226
GCC Administrator [Sat, 21 Jul 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44224
Bruce Korb [Sat, 21 Jul 2001 04:20:08 +0000 (04:20 +0000)]
extra casting required by new pointer type
From-SVN: r44222
Bruce Korb [Sat, 21 Jul 2001 04:08:29 +0000 (04:08 +0000)]
force unsigned char compares
From-SVN: r44219
Bruce Korb [Sat, 21 Jul 2001 04:04:27 +0000 (04:04 +0000)]
incorporate patches from 3.0 branch
From-SVN: r44218
Richard Henderson [Sat, 21 Jul 2001 03:05:09 +0000 (20:05 -0700)]
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
Nathan Sidwell [Sat, 21 Jul 2001 00:03:21 +0000 (00:03 +0000)]
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
Richard Henderson [Fri, 20 Jul 2001 22:23:25 +0000 (15:23 -0700)]
* doc/rtl.texi (REG_DEAD): Update for current semantics.
From-SVN: r44214
Jan Hubicka [Fri, 20 Jul 2001 20:47:35 +0000 (20:47 +0000)]
Correct typo.
From-SVN: r44213
Roman Zippel [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.
* 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
Jan Hubicka [Fri, 20 Jul 2001 20:10:42 +0000 (20:10 +0000)]
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
Jan Hubicka [Fri, 20 Jul 2001 20:07:58 +0000 (22:07 +0200)]
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
Stephane Carrez [Fri, 20 Jul 2001 19:43:19 +0000 (21:43 +0200)]
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
Stephane Carrez [Fri, 20 Jul 2001 19:34:56 +0000 (21:34 +0200)]
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
Daniel Berlin [Fri, 20 Jul 2001 19:12:46 +0000 (19:12 +0000)]
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
Diego Novillo [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...
* combine.c (combine_simplify_rtx): Generate a new shift operation
when simplifying the first operand of a (neg (ashift)) expression.
From-SVN: r44202
Richard Henderson [Fri, 20 Jul 2001 16:55:03 +0000 (09:55 -0700)]
* regclass.c (N_REG_INTS): Use only 32 bits per element.
From-SVN: r44201
Kelley Cook [Fri, 20 Jul 2001 16:33:52 +0000 (16:33 +0000)]
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
Catherine Moore [Fri, 20 Jul 2001 13:42:57 +0000 (13:42 +0000)]
v850.md (casesi): Generate LABEL_REF with Pmode.
* config/v850/v850.md (casesi): Generate LABEL_REF
with Pmode.
From-SVN: r44197
Toon Moene [Fri, 20 Jul 2001 13:27:40 +0000 (15:27 +0200)]
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
Jan Hubicka [Fri, 20 Jul 2001 12:38:08 +0000 (12:38 +0000)]
oops, missed rej file.
From-SVN: r44195
Jan Hubicka [Fri, 20 Jul 2001 12:15:36 +0000 (14:15 +0200)]
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
Jan Hubicka [Fri, 20 Jul 2001 11:30:13 +0000 (13:30 +0200)]
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
Toon Moene [Fri, 20 Jul 2001 10:52:06 +0000 (10:52 +0000)]
[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
Aldy Hernandez [Fri, 20 Jul 2001 10:36:09 +0000 (10:36 +0000)]
remove conflicts
From-SVN: r44191
Aldy Hernandez [Fri, 20 Jul 2001 10:35:33 +0000 (10:35 +0000)]
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
Aldy Hernandez [Fri, 20 Jul 2001 10:33:00 +0000 (10:33 +0000)]
this is a test
From-SVN: r44189
Nathan Sidwell [Fri, 20 Jul 2001 10:30:47 +0000 (10:30 +0000)]
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
GCC Administrator [Fri, 20 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44186
Geoffrey Keating [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.
* ifcvt.c (noce_try_store_flag_constants): Correct order
of parameters to trunc_int_for_mode.
From-SVN: r44181
Mark Mitchell [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...
* 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
Peter Schmid [Fri, 20 Jul 2001 01:17:13 +0000 (01:17 +0000)]
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
Phil Edwards [Fri, 20 Jul 2001 00:09:31 +0000 (00:09 +0000)]
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
Steve Ellcey [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.
From-SVN: r44166
Alexandre Oliva [Thu, 19 Jul 2001 22:42:07 +0000 (22:42 +0000)]
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
Neil Booth [Thu, 19 Jul 2001 21:17:09 +0000 (21:17 +0000)]
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
Catherine Moore [Thu, 19 Jul 2001 20:20:42 +0000 (20:20 +0000)]
Restore ASM_OUTPUT_LABEL_REF definition.
From-SVN: r44162
Geoffrey Keating [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...
* 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
Geoffrey Keating [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...
* 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
Jakub Jelinek [Thu, 19 Jul 2001 19:44:12 +0000 (21:44 +0200)]
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
Geoffrey Keating [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.
* ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
when negating constants.
From-SVN: r44158
Toon Moene [Thu, 19 Jul 2001 18:33:30 +0000 (20:33 +0200)]
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
Mark Kettenis [Thu, 19 Jul 2001 18:20:49 +0000 (20:20 +0200)]
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
Rainer Orth [Thu, 19 Jul 2001 18:08:17 +0000 (18:08 +0000)]
osf.h (ASM_OUTPUT_WEAK_ALIAS, [...]): Define.
* 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.
From-SVN: r44153
Jeff Sturm [Thu, 19 Jul 2001 14:03:08 +0000 (14:03 +0000)]
re PR java/3731 (gcj should generate class init code for instanceof)
* libjava.lang/PR3731.java: New file.
* libjava.lang/PR3731.out: New file.
* libjava.lang/PR3731.xfail: New file.
From-SVN: r44151
Andreas 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.in (assembler dwarf2 debug_line support): Define nop
insn for m68k.
* configure: Regenerated.
From-SVN: r44149
Mark Mitchell [Thu, 19 Jul 2001 07:22:40 +0000 (07:22 +0000)]
* class.c (finish_struct_anon): Forbid nested classes.
From-SVN: r44148
GCC Administrator [Thu, 19 Jul 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44146
Neil Booth [Thu, 19 Jul 2001 06:22:04 +0000 (06:22 +0000)]
Makefile.in (toplev.o, [...]): Don't depend on dwarfout.h.
* 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.
From-SVN: r44145
Neil Booth [Thu, 19 Jul 2001 06:12:50 +0000 (06:12 +0000)]
c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
* 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.
From-SVN: r44144
Mark Mitchell [Thu, 19 Jul 2001 04:27:16 +0000 (04:27 +0000)]
class.c (type_requires_array_cookie): New function.
* 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.
From-SVN: r44142
Jeff Sturm [Thu, 19 Jul 2001 03:50:07 +0000 (03:50 +0000)]
dwarf2out.c (dwarf2out_abstract_function): Don't emit in-class declaration at -g1.
* dwarf2out.c (dwarf2out_abstract_function): Don't emit
in-class declaration at -g1. Fixes c++/2814.
From-SVN: r44141
Gabriel Dos Reis [Thu, 19 Jul 2001 03:06:01 +0000 (03:06 +0000)]
gen-num-limits.cc (set_signals_handler): New function.
* src/gen-num-limits.cc (set_signals_handler): New function.
Factor out signals setting. Set signal handler for SIGILL.
Co-Authored-By: Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
From-SVN: r44139
DJ Delorie [Wed, 18 Jul 2001 23:40:00 +0000 (19:40 -0400)]
merge from glibc
From-SVN: r44138
Richard Henderson [Wed, 18 Jul 2001 22:02:07 +0000 (15:02 -0700)]
Fix markup for reload_in/out.
From-SVN: r44137
Phil Edwards [Wed, 18 Jul 2001 21:37:06 +0000 (21:37 +0000)]
howto.html: Fix typo.
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.
From-SVN: r44135
Richard Henderson [Wed, 18 Jul 2001 21:34:15 +0000 (14:34 -0700)]
md.texi (reload_in/out): Document restrictions in predicates and constraints for these patterns.
* doc/md.texi (reload_in/out): Document restrictions in predicates
and constraints for these patterns. Document empty string matching
ALL_REGS.
From-SVN: r44134
Toon Moene [Wed, 18 Jul 2001 20:50:54 +0000 (22:50 +0200)]
configure.in (_XOPEN_SOURCE, [...]): Move these defines before tests which might be affected by them.
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.
From-SVN: r44133
Rainer Orth [Wed, 18 Jul 2001 20:43:40 +0000 (20:43 +0000)]
* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Check for ASM_WEAKEN_LABEL.
From-SVN: r44131
Rainer Orth [Wed, 18 Jul 2001 20:39:52 +0000 (20:39 +0000)]
natPlainDatagramSocketImpl.cc (mcastGrp): Use new RFC 2533 socket options IPV6_JOIN_GROUP...
* 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.
From-SVN: r44130
Xavier Delacour [Wed, 18 Jul 2001 19:09:25 +0000 (19:09 +0000)]
NEWS (Changes in GCC 3.0): Fix typo.
* NEWS (Changes in GCC 3.0): Fix typo.
Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r44128
Jan Hubicka [Wed, 18 Jul 2001 18:52:41 +0000 (20:52 +0200)]
* cse.c: Undo my previous patch.
From-SVN: r44126
Tom Tromey [Wed, 18 Jul 2001 18:35:12 +0000 (18:35 +0000)]
natFileWin32.cc (_access): Renamed.
* 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.
From-SVN: r44124
Stephen M. Webb [Wed, 18 Jul 2001 17:58:37 +0000 (17:58 +0000)]
ostream.tcc (ostream::put): Fixed error condition check.
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.
Co-Authored-By: Roman Sulzhyk <roman_sulzhyk@yahoo.com>
From-SVN: r44122
Tom 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.
From-SVN: r44120