OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years agoNew file
loewis [Mon, 1 May 2000 11:15:22 +0000 (11:15 +0000)]
New file

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

22 years agoDaily bump.
law [Mon, 1 May 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

22 years ago * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
rth [Mon, 1 May 2000 07:21:29 +0000 (07:21 +0000)]
    * flow.c (propagate_one_insn): Mark sets even when the insn is dead.

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

22 years ago * ifcvt.c (noce_process_if_block): Fail the conversion if X is
rth [Mon, 1 May 2000 06:55:44 +0000 (06:55 +0000)]
    * ifcvt.c (noce_process_if_block): Fail the conversion if X is
        referenced bewteen the condition and the jump.  Don't delete
        anything but the jump.

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

22 years ago * decl.c (finish_destructor_body): Use the base destructor when
mmitchel [Mon, 1 May 2000 06:01:33 +0000 (06:01 +0000)]
* decl.c (finish_destructor_body): Use the base destructor when
destroying virtual bases.

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

22 years ago * expr.c (cplus_expand_expr): Preserve temporaries when expanding
mmitchel [Mon, 1 May 2000 05:50:40 +0000 (05:50 +0000)]
* expr.c (cplus_expand_expr): Preserve temporaries when expanding
STMT_EXPRs.
* optimize.c (struct inline_data): Add target_exprs field.
(declare_return_variable): When a function returns an aggregate,
use the variable declared in the TARGET_EXPR as the remapped
DECL_RESULT.
(expand_call_inline): Update the pending target_exprs stack.
(optimize_function): Initialize the stack.

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

22 years agoSun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
jle [Mon, 1 May 2000 03:46:21 +0000 (03:46 +0000)]
Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>

* bb-reorder.c (scope_def): New struct.
(scope_forest_info): New struct.
(struct reorder_block_def): New member "scope".
(REORDER_BLOCK_SCOPE): New macro.
(relate_bbs_with_scopes): New function and prototype.
(make_new_scope): Likewise.
(build_scope_forest): Likewise.
(remove_scope_notes): Likewise.
(insert_intra_1): Likewise.
(insert_intra_bb_scope_notes): Likewise.
(insert_inter_bb_scope_notes): Likewise.
(rebuild_scope_notes): Likewise.
(free_scope_forest_1): Likewise.
(free_scope_forest): Likewise.
(dump_scope_forest): Likewise.
(dump_scope_forest_1): Likewise.
(chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
block.
(reorder_basic_blocks): Added calls to build_scope_scope_forest
and remove_scope_notes before reordering is done. Added calls to
rebuild_scope_notes, free_scope_forest, and reorder_blocks after
after reordering is done.

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

22 years ago * decl2.c (finish_file): Fix typo in comment.
mmitchel [Mon, 1 May 2000 01:43:24 +0000 (01:43 +0000)]
* decl2.c (finish_file): Fix typo in comment.

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

22 years ago2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
bkoz [Mon, 1 May 2000 00:14:10 +0000 (00:14 +0000)]
2000-04-30  Benjamin Kosnik  <bkoz@gnu.org>

* mknumeric_limits (trait_name): Fix copyright notice.
* src/gen-num-limits.cc: Explicitly instantiate epsilon and
round_error data members of struct value. This works around
weak-linking issues on AIX, HPUX.

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

22 years agoremoved two stale entries
korbb [Sun, 30 Apr 2000 23:59:45 +0000 (23:59 +0000)]
removed two stale entries

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

22 years agoAdded definitions needed by OSR5
korbb [Sun, 30 Apr 2000 23:30:15 +0000 (23:30 +0000)]
Added definitions needed by OSR5

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

22 years ago * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
rth [Sun, 30 Apr 2000 18:41:37 +0000 (18:41 +0000)]
    * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
        from the last insn in the sequence.

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

22 years ago * method.c (emit_thunk): Don't try to return a `void' value.
mmitchel [Sun, 30 Apr 2000 18:03:36 +0000 (18:03 +0000)]
* method.c (emit_thunk): Don't try to return a `void' value.

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

22 years ago * optimize.c (initialize_inlined_parameters): If the parameter is
mmitchel [Sun, 30 Apr 2000 18:02:10 +0000 (18:02 +0000)]
* optimize.c (initialize_inlined_parameters): If the parameter is
addressable, we need to make a new VAR_DECL, even if the
initializer is constant.

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

22 years ago * cpplex.c (cpp_idcmp): New function.
zack [Sun, 30 Apr 2000 17:30:25 +0000 (17:30 +0000)]
* cpplex.c (cpp_idcmp): New function.
* cpplib.h: Prototype it.
* scan_decls.c (scan_decls): Use it to inspect token names.
* fix-header.c (read_scan_file): Likewise.  Set system_header_p on
the file being run through the preprocessor.
(check_macro_names): Provide length of token to cpp_defined.

* Makefile.in: Remove stale warning message.

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

22 years ago * cppfiles.c (redundant_include_p): Provide length of token to
zack [Sun, 30 Apr 2000 17:11:25 +0000 (17:11 +0000)]
* cppfiles.c (redundant_include_p): Provide length of token to
cpp_defined.
* cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
values are unsigned int.
(_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
(_cpp_lookup_slot): Do not calculate the hash, either.
* cpphash.h: Update prototypes.
* cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
Hashes are unsigned int.  Calculate hash here, pass by value
to _cpp_lookup_slot.

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

22 years ago2000-04-28 Loren J. Rittle <ljrittle@acm.org>
bkoz [Sun, 30 Apr 2000 16:12:56 +0000 (16:12 +0000)]
2000-04-28  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in: Rely on exit status instead of the presence of a
        core file.  Added comments on how/where to save core and exe
        files.  Move shell wildcards outside quotes and fix core path.

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

22 years agoFix memory corruption bug
crux [Sun, 30 Apr 2000 13:37:15 +0000 (13:37 +0000)]
Fix memory corruption bug

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

22 years ago * config/d30v: New port.
rth [Sun, 30 Apr 2000 11:17:13 +0000 (11:17 +0000)]
    * config/d30v: New port.

        * configure.in (d30v-*): Set fp format.
        * configure: Rebuild.

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

22 years ago * ifcvt.c: New file.
rth [Sun, 30 Apr 2000 11:01:53 +0000 (11:01 +0000)]
    * ifcvt.c: New file.
        * Makefile.in (OBJS): Add it.
        (ifcvt.o): New target.
        * jump.c (jump_optimize_1): Remove all code related to if-conversion,
        and conditional arithmetic.
        (find_insert_position): Remove.
        * timevar.def (TV_IFCVT, TV_IFCVT2): New.
        * toplev.c (DFI_ce, DFI_ce2): New.
        (dump_file): Add ce and ce2 dumps.
        (rest_of_compilation): Run if_convert a couple o times.  Set
        cse_not_expected after cse2.  Don't set no_new_pseudos until
        after sched1 or recompute_reg_usage.

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

22 years ago * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
rth [Sun, 30 Apr 2000 10:56:21 +0000 (10:56 +0000)]
    * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
        (crtend.o, crtbeginS.o, crtendS.o): Likewise.

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

22 years agoRemove ifnottex block confusing makeinfo 3.12.
rth [Sun, 30 Apr 2000 10:50:57 +0000 (10:50 +0000)]
Remove ifnottex block confusing makeinfo 3.12.

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

22 years ago * flow.c (struct reg_cond_life_info): New.
rth [Sun, 30 Apr 2000 10:37:57 +0000 (10:37 +0000)]
    * flow.c (struct reg_cond_life_info): New.
        (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
        (init_propagate_block_info): Initialize them.
        (free_propagate_block_info): Destruct them.
        (mark_set_1): Consider conditional life before killing a register.
        (mark_regno_cond_dead): New.
        (free_reg_cond_life_info): New.
        (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
        (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
        (mark_used_reg): Record conditional life.

        * haifa-sched.c (schedule_insns): Disable death counting
        sanity check for HAVE_conditional_execution.

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

22 years ago * Makefile.in (TIMEVAR_H): New.
rth [Sun, 30 Apr 2000 10:31:01 +0000 (10:31 +0000)]
    * Makefile.in (TIMEVAR_H): New.
        (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
        (timevar.h): Remove rule.

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

22 years agoMissed last config/alpha update.
rth [Sun, 30 Apr 2000 10:15:05 +0000 (10:15 +0000)]
Missed last config/alpha update.

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

22 years agoDaily bump.
law [Sun, 30 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

22 years ago * cpphash.h (enum node_type: Take out T_MCONST.
zack [Sun, 30 Apr 2000 01:34:00 +0000 (01:34 +0000)]
* cpphash.h (enum node_type: Take out T_MCONST.
(union hashval): Move into struct hashnode.
(struct hashnode): Pack tighter.  Remove file, line, col
members.
* cpphash.c: Constify most of the macro-definition structures.
(struct definition): Replace by struct object_defn
and struct funct_defn.  Put file, line, column information
here.  All users updated to match.
(_cpp_create_definition, _cpp_macroexpand): Remove special
case for #define WORD OTHERWORD.
* cpplib.c (do_undef): Remove T_MCONST case.

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

22 years ago * config/alpha/crtend.asm: Use C comments instead of #.
rth [Sat, 29 Apr 2000 21:12:45 +0000 (21:12 +0000)]
    * config/alpha/crtend.asm: Use C comments instead of #.
        * config/alpha/crtbegin.asm: Likewise.  Mark __dso_handle hidden.

        * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.

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

22 years ago * cpphash.h: Move struct reflist, struct definition, and the
zack [Sat, 29 Apr 2000 20:58:12 +0000 (20:58 +0000)]
* cpphash.h: Move struct reflist, struct definition, and the
DEFINITION typedef to cpphash.c.  Use 'struct definition *' in
union hashval.  _cpp_free_definition takes a HASHNODE pointer.
* cpphash.c (_cpp_free_definition): Free data pointed to by
MCONST, XCONST, MACRO, and FMACRO nodes properly.
(_cpp_create_definition, del_HASHNODE): Just call
_cpp_free_definition to clear out a hashnode.
* cpplib.c (do_pragma_poison): Likewise.

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

22 years ago2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
pme [Sat, 29 Apr 2000 20:41:19 +0000 (20:41 +0000)]
2000-04-29  Phil Edwards  <pme@sourceware.cygnus.com>

* docs/download.html:  Add link to list of mirror sites.

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

22 years ago* config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
aoliva [Sat, 29 Apr 2000 15:28:42 +0000 (15:28 +0000)]
* config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
(REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
(REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
REGNO_AM33_P): Redefine in terms of the new macros.
(CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
(FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
STRUCT_VALUE): Likewise.
(STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise.  Moved.

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

22 years ago* Makefile.in (maintainer-clean-subdir): Fix handling of empty
aoliva [Sat, 29 Apr 2000 14:25:12 +0000 (14:25 +0000)]
* Makefile.in (maintainer-clean-subdir): Fix handling of empty
SUBDIRS.

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

22 years agoDaily bump.
law [Sat, 29 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

22 years agorevert
jason [Sat, 29 Apr 2000 00:17:06 +0000 (00:17 +0000)]
revert

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

22 years ago * regmove.c (struct record_stack_memrefs_data): New.
hubicka [Fri, 28 Apr 2000 23:27:40 +0000 (23:27 +0000)]
* regmove.c (struct record_stack_memrefs_data): New.
(record_stack_memrefs): New function.
(combine_stack_adjustments_for_block): Use it.

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

22 years ago * calls.c (calls_function_1): Propertly handle TREE_LIST expressions;
hubicka [Fri, 28 Apr 2000 23:17:41 +0000 (23:17 +0000)]
* calls.c (calls_function_1):  Propertly handle TREE_LIST expressions;
use special_function_p to detect alloca.

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

22 years ago * gcc.texi: Fixes for makeinfo 4.0 --html.
law [Fri, 28 Apr 2000 22:31:40 +0000 (22:31 +0000)]
    * gcc.texi: Fixes for makeinfo 4.0 --html.

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

22 years ago * libiberty/cplus-dem.c
jason [Fri, 28 Apr 2000 22:22:22 +0000 (22:22 +0000)]
    * libiberty/cplus-dem.c
        (libiberty_demanglers): new table for demangle styles
        (cplus_demangle_set_style): New function for setting style
        (cplus_demangle_name_to_style): New function to translate name
        * include/demangle.h
        (libiberty_demanglers): new table for different styles
        (cplus_demangle_set_style): New function for setting style
        (cplus_demangle_name_to_style): New function to translate name

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

22 years ago * decl.c (grok_op_properties): Add an extra check of argtypes.
jason [Fri, 28 Apr 2000 22:10:24 +0000 (22:10 +0000)]
    * decl.c (grok_op_properties): Add an extra check of argtypes.

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

22 years ago * index-prop: Use a single pattern. Also support *** cdiffs.
jason [Fri, 28 Apr 2000 22:06:30 +0000 (22:06 +0000)]
    * index-prop: Use a single pattern.  Also support *** cdiffs.

        * index-prop: Don't change /dev/null.

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

22 years ago * pcp.h: Delete file.
zack [Fri, 28 Apr 2000 22:03:48 +0000 (22:03 +0000)]
* pcp.h: Delete file.
* po/POTFILES.in: Update.

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

22 years ago * h8300.c (function_epilogue): Clean up flags when the last insn
law [Fri, 28 Apr 2000 21:51:42 +0000 (21:51 +0000)]
    * h8300.c (function_epilogue): Clean up flags when the last insn
        in a function is a barrier.

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

22 years ago * configure.in (sparc-hal-solaris2*): protect [] glob from
law [Fri, 28 Apr 2000 21:46:33 +0000 (21:46 +0000)]
    * configure.in (sparc-hal-solaris2*): protect [] glob from
        my expansion.
        (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
        rather than hard-coded constants in target_cpu_default2.
        * configure: Regenerate.

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

22 years ago * tree.c (get_callee_fndecl): Extract the initial value from
jason [Fri, 28 Apr 2000 20:52:31 +0000 (20:52 +0000)]
    * tree.c (get_callee_fndecl): Extract the initial value from
        a readonly decl.

        * cp/optimize.c (initialize_inlined_parameters): Call
        c_apply_type_quals_to_decl.  Set DECL_INITIAL.

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

22 years ago * varasm.c (record_constant_1): Record the CODE_LABEL when
rth [Fri, 28 Apr 2000 20:25:38 +0000 (20:25 +0000)]
    * varasm.c (record_constant_1): Record the CODE_LABEL when
        taking the address of a LABEL_REF.

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

22 years ago * calls.c (combine_pending_stack_adjustment_and_call): Return the
rth [Fri, 28 Apr 2000 18:25:23 +0000 (18:25 +0000)]
    * calls.c (combine_pending_stack_adjustment_and_call): Return the
        adjustment; don't do the stack adjust.
        (expand_call): Call compute_argument_block_size right before
        allocating the block; update comment; don't do alignment sanity
        checking for sibling call; use args_size instead of
        unadjusted_args_size before args_size is adjusted.  Use
        combine_pending_stack_adjustment_and_call to compute stack adjust
        for must_preallocate case.

        * expr.c (push_block): Remove shadow `temp' in inner scope.

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

22 years ago * toplev.c (rest_of_compilation): Call
jason [Fri, 28 Apr 2000 18:22:33 +0000 (18:22 +0000)]
    * toplev.c (rest_of_compilation): Call
        note_deferral_of_defined_inline_function even if the function
        can't be inlined.

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

22 years ago2000-04-28 Scott Bambrough <scottb@netwinder.org>
scottb [Fri, 28 Apr 2000 18:17:54 +0000 (18:17 +0000)]
2000-04-28  Scott Bambrough  <scottb@netwinder.org>

* cpplex.c (_cpp_scan_line): Fix buffer overwrite.

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

22 years ago * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
rth [Fri, 28 Apr 2000 18:05:39 +0000 (18:05 +0000)]
    * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.

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

22 years agoRemoved mistakenly-committed ChangeLog entry
tromey [Fri, 28 Apr 2000 16:29:30 +0000 (16:29 +0000)]
Removed mistakenly-committed ChangeLog entry

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

22 years ago * libgcj.spec.in (*jc1): Added -fasynchronous-exceptions.
tromey [Fri, 28 Apr 2000 16:11:56 +0000 (16:11 +0000)]
* libgcj.spec.in (*jc1): Added -fasynchronous-exceptions.
Fix for PR gcj/218.

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

22 years ago * timevar.c (init_timevar): DeANSIfy function definition.
ghazi [Fri, 28 Apr 2000 13:51:55 +0000 (13:51 +0000)]
   * timevar.c (init_timevar): DeANSIfy function definition.

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

22 years ago2000-04-28 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Fri, 28 Apr 2000 07:56:34 +0000 (07:56 +0000)]
2000-04-28  Bryce McKinlay  <bryce@albatross.co.nz>

* libjava/java/lang/String.java (toString): Remove `final' hack.

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

22 years agoDaily bump.
law [Fri, 28 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

22 years ago2000-04-28 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Fri, 28 Apr 2000 07:42:27 +0000 (07:42 +0000)]
2000-04-28  Bryce McKinlay  <bryce@albatross.co.nz>

Test for PR gcj/218:
* libjava.lang/PR218.java: New file.
* libjava.lang/PR218.out: New file.

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

22 years ago * optimize.c (copy_body_r): Use STRIP_TYPE_NOPS when copying
mmitchel [Fri, 28 Apr 2000 06:40:28 +0000 (06:40 +0000)]
* optimize.c (copy_body_r): Use STRIP_TYPE_NOPS when copying
variables.
(initialize_inlined_parameters): Try to avoid creating new
VAR_DECLs.

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

22 years ago * Makefile.in (timevar.o): Depend on flags.h.
samuel [Fri, 28 Apr 2000 06:18:14 +0000 (06:18 +0000)]
* Makefile.in (timevar.o): Depend on flags.h.
* timevar.c (unused_stack_instances): New variable.
(timevar_push): Take a timevar_stack_def from
unused_stack_instances if available.
(timevar_pop): Push the popped timevar_stack_def onto
unused_stack_instances.
(TIMEVAR_ENABLE): New macro.
(timevar_def): Make standalone a 1-bit field.  Add field used.
(get_time): Rename parameter to now.  Return after clearing it if
not TIMEVAR_ENABLE.
(init_timevar): Do nothing if not TIMEVAR_ENABLE.
(timevar_pop): Likewise.
(timevar_stop): Likewise.
(timevar_push): Likewise.  Mark the timing variable as used.
(timevar_start): Likewise.
(timevar_print): Do nothing if not TIMEVAR_ENABLE.  Don't print
timevars that were never used.

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

22 years ago2000-04-26 Nathan C. Myers <ncm@cantrip.org>
bkoz [Fri, 28 Apr 2000 03:00:58 +0000 (03:00 +0000)]
2000-04-26  Nathan C. Myers  <ncm@cantrip.org>

* bits/basic_string.h: include <bits/atomicity.h> instead
        of <atomicity.h>, and use the uglified names.
        * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
        uglify names, eliminate dependence on <inttypes.h>.
        * src/Makefile.in, src/Makefile.am: refer to correct place
        for atomicity.h header.

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

22 years ago2000-04-27 scott snyder <snyder@fnal.gov>
bkoz [Fri, 28 Apr 2000 02:53:12 +0000 (02:53 +0000)]
2000-04-27  scott snyder  <snyder@fnal.gov>

        * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
        classes.

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

22 years ago2000-04-26 Nathan C. Myers <ncm@cantrip.org>
bkoz [Fri, 28 Apr 2000 02:50:55 +0000 (02:50 +0000)]
2000-04-26  Nathan C. Myers  <ncm@cantrip.org>

* bits/basic_string.h: include <bits/atomicity.h> instead
        of <atomicity.h>, and use the uglified names.
        * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
        uglify names, eliminate dependence on <inttypes.h>.
        * src/Makefile.in, src/Makefile.am: refer to correct place
        for atomicity.h header.

2000-04-25 Steven King <sxking@uswest.net>

        * bits/basic_string.h: Fix syntax error.

2000-04-25  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
USE_LONG_DOUBLE.
(GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
* math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
versions to this as copysignl is needed anyway for these targets.
* math/Makefile.in: Regenerate.

* bits/streambuf.tcc (streambuf::xsgetn): Tweak.
* bits/fstream.tcc (underflow): Cast to libio types.
* bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
* config/c_io_libio.cc (seekoff): And here.

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

22 years ago * c-commom.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
mmitchel [Fri, 28 Apr 2000 02:04:00 +0000 (02:04 +0000)]
* c-commom.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
always TREE_READONLY.

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

22 years ago * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
drepper [Fri, 28 Apr 2000 01:54:53 +0000 (01:54 +0000)]
    * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
        for call instruction with mode QImode.

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

22 years ago * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
ghazi [Fri, 28 Apr 2000 01:42:43 +0000 (01:42 +0000)]
* aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.

* configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
(libiberty_AC_FUNC_STRNCMP): Invoke.

* strncmp.c: New file.

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

22 years ago * gcc_update: Refer to GCC and gcc_update instead of egcs and
gerald [Fri, 28 Apr 2000 01:23:47 +0000 (01:23 +0000)]
    * gcc_update: Refer to GCC and gcc_update instead of egcs and
        egcs_update.

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

22 years agohangeLog:
samuel [Fri, 28 Apr 2000 00:59:40 +0000 (00:59 +0000)]
hangeLog:

* Makefile.in (OBJS): Add timevar.o.
(toplev.o): Depend on timevar.h.
(ggc-simple.o): Likewise.
(ggc-page.o): Likewise.
(timevar.o): New rule.
(timevar.h): New rule.

* timevar.h: New file.
* timevar.c: Likewise.
* timevar.def: Likewise.

* toplev.h (gc_time, parse_time, varconst_time): Remove.
* toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
throughout.
(TIMEVAR): Remove macro.
(gc_time, parse_time, varconst_time, integration_time, jump_time,
cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
flow_time, combine_time, regmove_time, sched_time,
local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
sched2_time, dbr_sched_time, reorder_blocks_time,
rename_registers_time, shorten_branch_time, stack_reg_time,
to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
all_time): Remove.
(compile_file): Don't initialize time variables.  Call
init_timevar and start TV_TOTAL timer.  Call timevar_print instead
of many calls to print_time.
(rest_of_compilation): Add timing for reload_cse_regs.
(get_run_time): Removed to timevar.c.
(print_time): Likewise.
(get_run_time): Implement using TV_TOTAL time variable.
(print_time): Get total run time from get_run_time.
* ggc-page.c (ggc_collect): Push and pop TV_GC instead of
computing elapsed time explicitly.
* ggc-simple.c (ggc_collect): Likewise.
(gc_time): Remove declaration.

cp/ChangeLog:

* lex.c (my_get_run_time): Remove.
(init_filename_times): Use get_run_time instead of my_get_run_time.
(check_newline): Likewise.
(dump_time_statistics): Likewise.
* decl2.c (finish_file): Push and pop timevar TV_VARCONST instead
of computing elapsed time explicitly.

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

22 years ago Fix for PR gcj/2:
tromey [Fri, 28 Apr 2000 00:21:06 +0000 (00:21 +0000)]
Fix for PR gcj/2:
* expr.c (expand_invoke): Generate check to see if object pointer
is null in nonvirtual invocation case.
* java-tree.h (soft_nullpointer_node): Declare.
* decl.c (soft_nullpointer_node): New global.
(init_decl_processing): Initialize soft_nullpointer_node.
* parse.y (invocation_mode): Return INVOKE_NONVIRTUAL for `final'
or `private' methods.
(patch_invoke): Handle INVOKE_NONVIRTUAL case.

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

22 years ago * index-prop: Fix occasional problem when using cvs diff -p
law [Fri, 28 Apr 2000 00:15:34 +0000 (00:15 +0000)]
* index-prop: Fix occasional problem when using cvs diff -p

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

22 years agoWed Apr 26 14:29:33 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 27 Apr 2000 23:25:18 +0000 (23:25 +0000)]
Wed Apr 26 14:29:33 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* decl.c (complete_start_java_method): Don't call _Jv_InitClass
  from <clinit>

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

22 years ago Runtime support for PR gcj/2:
tromey [Thu, 27 Apr 2000 23:13:31 +0000 (23:13 +0000)]
Runtime support for PR gcj/2:
* prims.cc (_Jv_ThrowNullPointerException): New function.
* include/jvm.h (_Jv_ThrowNullPointerException): Declare.

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

22 years ago * calls.c (combine_pending_stack_adjustment_and_call): New function.
mmitchel [Thu, 27 Apr 2000 16:44:23 +0000 (16:44 +0000)]
* calls.c (combine_pending_stack_adjustment_and_call): New function.
(expand_call): Use it.

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

22 years agoJan Hubicka <jh@suse.cz>
rth [Thu, 27 Apr 2000 16:28:56 +0000 (16:28 +0000)]
Jan Hubicka  <jh@suse.cz>

        * flow.c (mark_set_1):  Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
        fields.

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

22 years ago* config/mn10300/mn10300.md (movhi): Simplify. Prefer data
aoliva [Thu, 27 Apr 2000 15:49:20 +0000 (15:49 +0000)]
* config/mn10300/mn10300.md (movhi): Simplify.  Prefer data
registers.

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

22 years ago * function.c (epilogue_done): Pass whole insn to record_insns.
hubicka [Thu, 27 Apr 2000 15:34:16 +0000 (15:34 +0000)]
* function.c (epilogue_done): Pass whole insn to record_insns.

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

22 years ago * hashtab.c (htab_expand): Add prototype.
hubicka [Thu, 27 Apr 2000 14:59:55 +0000 (14:59 +0000)]
* hashtab.c (htab_expand): Add prototype.
(find_empty_slot_for_expand): Likewise.

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

22 years ago * cse.c (CSE_ADDRESS_COST): Remove.
hubicka [Thu, 27 Apr 2000 14:56:47 +0000 (14:56 +0000)]
* cse.c (CSE_ADDRESS_COST): Remove.
(find_best_addr): Add new parameter "MODE", use address_cost instead
of CSE_ADDRESS_COST
(address_cost): New.
(fold_rtx): Update call of find_best_addr.
* rtl.h (address_cost): Declare.
* loop.c (general_induction_var): Add new parameter "MODE", use
address_cost instead of ADDRESS_COST
(init_loop): Use address_cost instead of ADDRESS_COST.
(check_insn_for_givs): Update call of general_induction_var.
(find_mem_givs): Likewise.
(consec_sets_giv): Likewise.
* config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
* i386.c (ix86_address_cost): New.
* i386-protos.h (ix86_address_cost): Declare.

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

22 years ago* config/mn10300/mn10300.md (movqi): Simplify. Prefer data
aoliva [Thu, 27 Apr 2000 14:46:55 +0000 (14:46 +0000)]
* config/mn10300/mn10300.md (movqi): Simplify.  Prefer data
registers.

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

22 years ago * expr.c (store_expr): Use clear_storage instead of direct memset
hubicka [Thu, 27 Apr 2000 14:13:48 +0000 (14:13 +0000)]
* expr.c (store_expr): Use clear_storage instead of direct memset
libcall.

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

22 years ago * compile/20000427-1.c: New test for loop hoisting code
hubicka [Thu, 27 Apr 2000 14:05:09 +0000 (14:05 +0000)]
* compile/20000427-1.c: New test for loop hoisting code
and hard registers.

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

22 years ago* config/mn10300/mn10300.c (mn10300_address_cost): Test
aoliva [Thu, 27 Apr 2000 13:39:09 +0000 (13:39 +0000)]
* config/mn10300/mn10300.c (mn10300_address_cost): Test
ASHIFT, AND and LABEL_REF.

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

22 years ago * invoke.texi (-foptimize-sibling-calls): Fix.
hubicka [Thu, 27 Apr 2000 13:14:10 +0000 (13:14 +0000)]
* invoke.texi (-foptimize-sibling-calls): Fix.

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

22 years ago * loop.c (load_mems) Don't use hard registers for the hoisting.
hubicka [Thu, 27 Apr 2000 12:57:35 +0000 (12:57 +0000)]
* loop.c (load_mems)  Don't use hard registers for the hoisting.

* unroll.c (unroll_loop): Avoid overflow in the n_iterations
calculation; rename const_equiv array in the preconditioning code
from loop_unroll to loop_unroll_precondition

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

22 years ago2000-04-27 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Thu, 27 Apr 2000 11:47:13 +0000 (11:47 +0000)]
2000-04-27  Bryce McKinlay  <bryce@albatross.co.nz>

        * prims.cc (_Jv_NewObjectArray): Fix typo.

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

22 years ago * flow.c (struct propagate_block_info): Remove new_dead, new_live;
rth [Thu, 27 Apr 2000 11:17:04 +0000 (11:17 +0000)]
    * flow.c (struct propagate_block_info): Remove new_dead, new_live;
        add new_set.
        (propagate_one_insn): Clear it.  Don't update reg_live here.
        (init_propagate_block_info): Update for pbi member changes.
        (free_propagate_block_info): Likewise.
        (mark_set_1): Know that zero_extract, sign_extract, and
        strict_low_part don't kill their argument.  Alter hard subregs.
        Update new_set for non-CLOBBER sets.  Update reg_live.
        (find_auto_inc): Update reg_live, not new_dead.
        (mark_used_reg): Update reg_live, not new_live.  Examine new_set
        to determine if the reg in question was set this insn.  Only update
        reg info with PROP_REG_INFO.

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

22 years agoDaily bump.
law [Thu, 27 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

22 years ago * flow.c (calculate_global_regs_live): Force stack pointer
rth [Thu, 27 Apr 2000 07:39:51 +0000 (07:39 +0000)]
    * flow.c (calculate_global_regs_live): Force stack pointer
        live at end.

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

22 years ago * flow.c (allocate_reg_life_data): Set max_regno here ...
rth [Thu, 27 Apr 2000 07:38:40 +0000 (07:38 +0000)]
    * flow.c (allocate_reg_life_data): Set max_regno here ...
        (life_analysis): ... not here.

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

22 years ago * jump.c (redirect_exp_1): Rework from old redirect_exp. Never
rth [Thu, 27 Apr 2000 07:20:29 +0000 (07:20 +0000)]
    * jump.c (redirect_exp_1): Rework from old redirect_exp.  Never
        commit change group changes.
        (invert_exp_1): Similarly.
        (redirect_exp, invert_exp): Use them.
        (redirect_jump_1): New.
        (invert_jump_1): New.
        (jump_optimize_1): Remove code subsumed by condexec.c.
        * rtl.h (invert_jump_1, redirect_jump_1): Declare.

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

22 years ago * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
rth [Thu, 27 Apr 2000 07:18:08 +0000 (07:18 +0000)]
    * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
        * genconfig.c (main): Set all HAVE_foo to 1.
        * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.

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

22 years agoFix commentary.
rth [Thu, 27 Apr 2000 07:14:46 +0000 (07:14 +0000)]
Fix commentary.

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

22 years ago * invoke.texi: Document -fssa flag.
samuel [Thu, 27 Apr 2000 07:10:55 +0000 (07:10 +0000)]
* invoke.texi: Document -fssa flag.

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

22 years ago * flow.c (count_reg_sets_1): Remove.
rth [Thu, 27 Apr 2000 07:07:34 +0000 (07:07 +0000)]
    * flow.c (count_reg_sets_1): Remove.
        (count_reg_sets, count_reg_references): Remove.
        (recompute_reg_usage): Implement with update_life_info.
        Reallocate life data.

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

22 years ago * flow.c (update_life_info): Consider blocks null to mean the
rth [Thu, 27 Apr 2000 07:01:04 +0000 (07:01 +0000)]
    * flow.c (update_life_info): Consider blocks null to mean the
        universal set.
        (calculate_global_regs_live): Likewise.
        (life_analysis): Do that instead of collecting all_blocks.

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

22 years ago * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
rth [Thu, 27 Apr 2000 06:47:16 +0000 (06:47 +0000)]
    * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
        a still-valid conditional jump.

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

22 years ago * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
rth [Thu, 27 Apr 2000 05:58:05 +0000 (05:58 +0000)]
    * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.

        * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
        * flow.c (calculate_loop_depth): Remove.
        * output.h (calculate_loop_depth): Don't declare.
        * toplev.c (rest_of_compilation): Expand calculate_loop_depth
        inline; run estimate_probability at the same time.

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

22 years ago2000-04-26 Neil Booth <NeilB@earthling.net>
zack [Thu, 27 Apr 2000 05:49:33 +0000 (05:49 +0000)]
2000-04-26  Neil Booth  <NeilB@earthling.net>

* cpplib.h: "~=" is not a single pp-token.
* cpplex.c: Correct commentary.

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

22 years ago * flow.c (mark_set_1): New arguments code and flags; update all
rth [Thu, 27 Apr 2000 05:42:25 +0000 (05:42 +0000)]
    * flow.c (mark_set_1): New arguments code and flags; update all
        callers.  Track regno_first and regno_last; do HARD_REGNO_NREGS
        test in one place.  Tidy flags tests.  Don't bias REG_N_REFS by
        loop_depth when optimizing for size.  Do new_dead update after
        emitting REG_UNUSED notes.  Merge mark_set_reg code.
        (mark_set_reg): Remove.
        (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
        arrange to not emit REG_UNUSED notes.

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

22 years ago * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
rth [Thu, 27 Apr 2000 05:12:26 +0000 (05:12 +0000)]
    * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
        * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.

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

22 years ago * flow.c (propagate_one_insn): Break out from propagate_block.
rth [Thu, 27 Apr 2000 05:03:35 +0000 (05:03 +0000)]
    * flow.c (propagate_one_insn): Break out from propagate_block.
        (init_propagate_block_info): Likewise.
        (free_propagate_block_info): Likewise.
        (propagate_block): Use them.  Export.
        * basic-block.h: Declare them all.

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

22 years ago * basic-block.h (life_analysis): Declare here ...
rth [Thu, 27 Apr 2000 04:42:09 +0000 (04:42 +0000)]
    * basic-block.h (life_analysis): Declare here ...
        * output.h: ... not here.
        * flow.c (life_analysis): Remove nregs parameter; replace
        remove_dead_code with flags.  Remove ssa dead code check.
        Only init alias analysis if we'll use it.
        * reg-stack.c (reg_to_stack): Update life_analysis arguments.
        * ssa.c (convert_to_ssa): Likewise.
        (convert_from_ssa): Likewise.
        * toplev.c (rest_of_compilation): Likewise.

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

22 years ago * flow.c (flow_delete_block): Rename from delete_block. Export.
rth [Thu, 27 Apr 2000 04:26:47 +0000 (04:26 +0000)]
    * flow.c (flow_delete_block): Rename from delete_block.  Export.
        * basic-block.h (flow_delete_block): Declare.

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