Fix hppa miscompilation bug reported by Manfred Hollstein.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Apr 1998 18:39:07 +0000 (18:39 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Apr 1998 18:39:07 +0000 (18:39 +0000)
commit0a40b1338da345c86efdd47df54fadbd9b111bf0
treec02632e4e26b9afecd0e5bf71185881cc3f4d644
parent879fbf1faea64fb0854c3efc11350c0a06992228
Fix hppa miscompilation bug reported by Manfred Hollstein.
* loop.c (check_dbra_loop): New locals jump, first_compare, and
compare_and_branch.  Call get_condition to set first_compare.
Set compare_and_branch to number of compare/branch instructions.
Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
Replace '2' with compare_and_branch.

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