OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago Simplify rtti, now we've only one ABI.
nathan [Tue, 24 Jul 2001 08:56:12 +0000 (08:56 +0000)]
Simplify rtti, now we've only one ABI.
* cp-tree.h (cp_tree_index): Remove CPTI_TINFO_DECL_ID,
CPTI_TINFO_VAR_ID.
(tinfo_decl_id, tinfo_var_id): Remove.
(get_typeid_1): Remove.
* rtti.c
(init_rtti_processing): Remove tinfo_decl_id & tinfo_var_id.
(typeid_ok_p): New function.
(build_type_id): Call typeid_ok_p. Don't call tinfo_from_decl.
(get_tinfo_decl): Remove old abi documentation.
(tinfo_from_decl): Remove.
(get_type_id): Call typeid_ok_p. Absorb get_typeid_1.
(get_typeid_1): Remove.
(get_base_offset): Remove.
(synthesize_tinfo_var): Absorb get_base_offset.
(create_real_tinfo_var): Don't use tinfo_decl_id.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44291 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * flow.c (delete_noop_moves): Do not confuse libcall regions.
hubicka [Tue, 24 Jul 2001 08:54:59 +0000 (08:54 +0000)]
* flow.c (delete_noop_moves): Do not confuse libcall regions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44290 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Tue, 24 Jul 2001 07:16:15 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44288 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.
rth [Tue, 24 Jul 2001 00:57:46 +0000 (00:57 +0000)]
    * flow.c (try_simplify_condjump): Use tidy_fallthru_edge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44287 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * reload.c: Fix comment typos.
kazu [Mon, 23 Jul 2001 22:41:10 +0000 (22:41 +0000)]
* reload.c: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44284 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300-protos.h: Add a prototype for
kazu [Mon, 23 Jul 2001 21:46:38 +0000 (21:46 +0000)]
* config/h8300/h8300-protos.h: Add a prototype for
general_operand_dst_push.
  * config/h8300/h8300.c (general_operand_dst_push): New.
* config/h8300/h8300.h (OK_FOR_T): New.
(EXTRA_CONSTRAINT): Use it.
* config/h8300/h8300.md (movqi_push): Remove and integrate into
the existing movqi pattern.
(movhi_push): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44283 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcse.c (cprop_insn): Update call of cprop_cc0_jump.
hubicka [Mon, 23 Jul 2001 21:35:26 +0000 (21:35 +0000)]
* gcse.c (cprop_insn): Update call of cprop_cc0_jump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44282 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-23 H.J. Lu (hjl@gnu.org)
hjl [Mon, 23 Jul 2001 21:20:35 +0000 (21:20 +0000)]
2001-07-23  H.J. Lu  (hjl@gnu.org)

* doc/extend.texi: Update __builtin_return_address and
__builtin_frame_address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44281 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
rth [Mon, 23 Jul 2001 21:16:02 +0000 (21:16 +0000)]
    * config/i386/i386.c (ix86_expand_setcc): Don't use method 0
        before CSE.
        * config/i386/i386.md: New setcc+movzbl peephole2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44279 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * objc/Make-lang.in (objc-act.o): Depend on debug.h.
neil [Mon, 23 Jul 2001 21:11:42 +0000 (21:11 +0000)]
* objc/Make-lang.in (objc-act.o): Depend on debug.h.
* objc/objc-act.c: Include debug.h.
(synth_module_prologue): Save and restore debug hooks too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44278 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
gerald [Mon, 23 Jul 2001 20:33:40 +0000 (20:33 +0000)]
* tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
and C4X_FLOAT_FORMAT.
(BOOL_TYPE_SIZE): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44277 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcj/javaprims.h: Rebuilt class list.
tromey [Mon, 23 Jul 2001 20:01:29 +0000 (20:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44274 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * unroll.c (loop_iterations): Fix miscalculation of initial
cpopetz [Mon, 23 Jul 2001 16:58:29 +0000 (16:58 +0000)]
* unroll.c (loop_iterations): Fix miscalculation of initial
giv offset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44272 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * include/bits/limits_generic.h (int): Set digits and digits10
dje [Mon, 23 Jul 2001 16:41:03 +0000 (16:41 +0000)]
* include/bits/limits_generic.h (int): Set digits and digits10
appropriately for word size.
(unsigned int,long,unsigned long): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44271 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/20010723-1.c: New test.
law [Mon, 23 Jul 2001 16:13:51 +0000 (16:13 +0000)]
    * gcc.c-torture/execute/20010723-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44270 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-13 Andrew Haley <aph@redhat.com>
aph [Mon, 23 Jul 2001 16:00:06 +0000 (16:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44269 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * flow.c (try_simplify_condjump): Unlink insn chain on
hubicka [Mon, 23 Jul 2001 15:27:33 +0000 (15:27 +0000)]
* flow.c (try_simplify_condjump): Unlink insn chain on
fallthru edge; use can_fallthru.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44268 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * basic-block.h (find_sub_basic_block): Declare.
hubicka [Mon, 23 Jul 2001 14:08:12 +0000 (14:08 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44267 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * analyze_brprob: Fix awk compatibility problems; update comment.
hubicka [Mon, 23 Jul 2001 13:55:28 +0000 (13:55 +0000)]
* analyze_brprob: Fix awk compatibility problems; update comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44266 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoMAINTAINERS (Various maintainers: s390 port): Added myself.
uweigand [Mon, 23 Jul 2001 13:41:06 +0000 (13:41 +0000)]
MAINTAINERS (Various maintainers: s390 port): Added myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44265 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * reload.c (push_reload): Fix typo in comment.
hp [Mon, 23 Jul 2001 13:21:39 +0000 (13:21 +0000)]
* reload.c (push_reload): Fix typo in comment.
(find_reloads_address): Ditto.
(reg_overlap_mentioned_for_reload_p): Ditto in head comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44264 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * analyze_brprob: Fix more typos.
aj [Mon, 23 Jul 2001 13:21:13 +0000 (13:21 +0000)]
* analyze_brprob: Fix more typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44263 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * analyze_brprob: Fix typos.
aj [Mon, 23 Jul 2001 10:39:58 +0000 (10:39 +0000)]
* analyze_brprob: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44262 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Mon, 23 Jul 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44258 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * flow.c: Grammar check and clarify a lot of comments.
rth [Mon, 23 Jul 2001 07:03:34 +0000 (07:03 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44257 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cp/class.c (type_requires_array_cookie): Fix use of uninitialised
grahams [Mon, 23 Jul 2001 06:34:51 +0000 (06:34 +0000)]
* cp/class.c (type_requires_array_cookie): Fix use of uninitialised
variable has_two_argument_delete_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44256 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
rth [Mon, 23 Jul 2001 06:00:06 +0000 (06:00 +0000)]
    * fold-const.c (fold): Test vs FLOAT_TYPE_P instead of
        INTEGRAL_TYPE_P when folding comparisons with operand_equal_p
        arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44255 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-23 Ben Elliston <bje@redhat.com>
bje [Mon, 23 Jul 2001 05:35:26 +0000 (05:35 +0000)]
2001-07-23  Ben Elliston  <bje@redhat.com>

* g++.old-deja/g++.other/enum5.C: Mark as XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44253 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * m68k.c (const_uint32_operand): Abort if mode is <= 32 bits.
rth [Mon, 23 Jul 2001 04:46:53 +0000 (04:46 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44252 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* configure.host: Enable hash synchronization for alpha*-*.
jsturm [Mon, 23 Jul 2001 03:51:17 +0000 (03:51 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44251 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * flow.c (split_block): Make sure bb_note is included in the
rth [Sun, 22 Jul 2001 22:49:00 +0000 (22:49 +0000)]
    * flow.c (split_block): Make sure bb_note is included in the
        new block when splitting before a label.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44250 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * basic-block.h (redirect_edge_and_branch_force,
hubicka [Sun, 22 Jul 2001 21:42:35 +0000 (21:42 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44249 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * varasm.c: Don't inlcude dbxout.h, sdbout.h or xcoffout.h.
neil [Sun, 22 Jul 2001 21:33:57 +0000 (21:33 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44248 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
aoliva [Sun, 22 Jul 2001 21:15:45 +0000 (21:15 +0000)]
* config/i386/freebsd-aout.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
the definition in defaults.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44247 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * jump.c: Update comments.
hubicka [Sun, 22 Jul 2001 19:34:13 +0000 (19:34 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44245 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dbxout.c (dbxout_global_decl): New.
neil [Sun, 22 Jul 2001 17:02:53 +0000 (17:02 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44243 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/alpha/alpha.c (get_trap_mode_suffix): New.
rth [Sun, 22 Jul 2001 16:02:06 +0000 (16:02 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44242 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago 2001-07-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 22 Jul 2001 10:10:09 +0000 (10:10 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44238 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dbxout.c, sdbout.c, varasm.c: Revert most recent patch.
neil [Sun, 22 Jul 2001 09:42:47 +0000 (09:42 +0000)]
* dbxout.c, sdbout.c, varasm.c: Revert most recent patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44237 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sun, 22 Jul 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44236 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * regrename.c (regrename_optimize): Compute nregs for each
rth [Sun, 22 Jul 2001 07:10:46 +0000 (07:10 +0000)]
    * regrename.c (regrename_optimize): Compute nregs for each
        potential target register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44234 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * dbxout.c (dbxout_global_decl): New.
neil [Sat, 21 Jul 2001 23:17:26 +0000 (23:17 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44232 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-07-21 H.J. Lu (hjl@gnu.org)
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

22 years ago * config/m68hc11/m68hc11.md ("andqi3"): Accept d as second operand.
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

22 years agogcc:
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

22 years ago Remove old-abi tests.
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

22 years agoDaily bump.
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

22 years agoextra casting required by new pointer type
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

22 years agoforce unsigned char compares
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

22 years agoincorporate patches from 3.0 branch
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

22 years ago * flow.c (try_redirect_by_replacing_jump): Correctly compute which
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

22 years ago Remove old-abi remnants. Remove comments about old abi
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

22 years ago * doc/rtl.texi (REG_DEAD): Update for current semantics.
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

22 years agoCorrect typo.
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

22 years ago * m68k.md (zero_extend?i?i2 expander): Use gen_lowpart instead
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

22 years ago * expr.c (emit_single_push_insn): Add call to push expander.
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

22 years ago * rtlanal.c (set_noop_p): Return true for noop jumps.
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

22 years ago * config/m68hc11/m68hc11.md ("movdi", "movdi_internal"): Use an
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

22 years ago * config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Don't use
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

22 years ago2001-07-20 Daniel Berlin <dan@cgsoftware.com>
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

22 years ago * combine.c (combine_simplify_rtx): Generate a new shift operation
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

22 years ago * regclass.c (N_REG_INTS): Use only 32 bits per element.
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

22 years ago * doc/install.texi (sparc-sun-solaris*): Add in 4.x assembler bug
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

22 years ago * config/v850/v850.md (casesi): Generate LABEL_REF
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

22 years ago2001-07-20 Toon Moene <toon@moene.indiv.nluug.nl>
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

22 years agooops, missed rej file.
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

22 years ago * i386-protos.h (ix86_zero_extend_to_Pmode): Declare.
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

22 years ago * integrate.c (copy_insn_list): handle
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

22 years ago2001-07-20 David Billinghurst <David.Billinghurst@riotinto.org>
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

22 years agoremove conflicts
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

22 years ago * config/mips/mips.h (ISA_HAS_NMADD_NMSUB): New macro.
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

22 years agothis is a test
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

22 years ago * cppinit.c (remove_dup_dir): Make static.
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

22 years agoDaily bump.
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

22 years ago * ifcvt.c (noce_try_store_flag_constants): Correct order
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

22 years ago * reorg.c (fill_simple_delay_slots): If an instruction might throw
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

22 years ago2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
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

22 years ago2001-07-19 Phil Edwards <pme@sources.redhat.com>
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

22 years ago * tm.texi (POINTERS_EXTEND_UNSIGNED) Modify definition.
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

22 years ago2001-07-19 Alexandre Oliva <aoliva@redhat.com>
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

22 years ago * Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
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

22 years agoRestore ASM_OUTPUT_LABEL_REF definition.
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

22 years ago * reload1.c (eliminate_regs_in_insn): When updating a set
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

22 years ago * reload1.c (choose_reload_regs): Don't inherit a reload
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

22 years ago * top.c (ffe_decode_option): Disallow lang-independent processing
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

22 years ago * ifcvt.c (noce_try_store_flag_constants): Use trunc_int_for_mode
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

22 years ago2001-07-19 Toon Moene <toon@moene.indiv.nluug.nl>
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

22 years ago * unwind-dw2.c (_Unwind_FrameState): Add eh_ptr.
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

22 years ago * config/alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL,
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

22 years ago* libjava.lang/PR3731.java: New file.
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

22 years ago * configure.in (assembler dwarf2 debug_line support): Define nop
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

22 years ago * class.c (finish_struct_anon): Forbid nested classes.
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

22 years agoDaily bump.
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

22 years ago * Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
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

22 years ago * c-lex.c (c_lex): Remove CPP_INT, CPP_FLOAT cases.
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

22 years ago * class.c (type_requires_array_cookie): New function.
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

22 years ago* dwarf2out.c (dwarf2out_abstract_function): Don't emit
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

22 years ago * src/gen-num-limits.cc (set_signals_handler): New function.
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

22 years agomerge from glibc
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

22 years agoFix markup for reload_in/out.
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