loop.c
240 KB
-
Fix hppa miscompilation bug reported by Manfred Hollstein. · 0628fde6
* 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
Jim Wilson committed