* rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Jan 2002 06:21:31 +0000 (06:21 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Jan 2002 06:21:31 +0000 (06:21 +0000)
commitcab14df7519ca2914741470150133e8ff5a718b3
tree74d7d828de9e380db26da65d9c431dfb739c6948
parent9820868d9c3819a17cee188739663394473af4cd
    * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
        * rtl.c (note_insn_name): Update.
        * emit-rtl.c (remove_unnecessary_notes): Kill it.
        * stmt.c (expand_end_loop): Kill jump opt code.  Use LOOP_END_TOP_COND
        to perform loop rotation.
        (expand_exit_loop_top_cond): New.
        * tree.h (expand_exit_loop_top_cond): Declare it.
        * c-semantics.c (genrtl_while_stmt): Use it.
        (genrtl_for_stmt): Likewise.

        * ada/trans.c (tree_transform) [N_Loop_Statement]: Use
        expand_exit_loop_top_cond.

        * f/ste.c (ffeste_begin_iterdo_): Use expand_exit_loop_top_cond.
        (ffeste_R819B): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49364 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/trans.c
gcc/c-semantics.c
gcc/emit-rtl.c
gcc/f/ChangeLog
gcc/f/ste.c
gcc/rtl.c
gcc/rtl.h
gcc/stmt.c
gcc/tree.h