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
Showing
Please
register
or
sign in
to comment