Fix hppa miscompilation bug reported by Manfred Hollstein.
authorJim Wilson <wilson@cygnus.com>
Mon, 27 Apr 1998 18:39:07 +0000 (18:39 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 27 Apr 1998 18:39:07 +0000 (11:39 -0700)
commit0628fde6079759bf33e27118e027caaa6f034698
treec02632e4e26b9afecd0e5bf71185881cc3f4d644
parenteae97bd90c2f25af25fe2deb8aa01621783866c9
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.

From-SVN: r19435
gcc/ChangeLog
gcc/loop.c