diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2012-10-29 19:27:09 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2012-10-29 19:27:09 +0000 |
commit | 8efb4b35f3dbd086544c67b2835e579e3926a516 (patch) | |
tree | 06ca8a4cef11d1cf74a28daee9c750544ac6e373 /gcc/loop-unroll.c | |
parent | 2718e70e99f2114bd67bf456459f463a1709bb62 (diff) | |
download | gcc-8efb4b35f3dbd086544c67b2835e579e3926a516.zip gcc-8efb4b35f3dbd086544c67b2835e579e3926a516.tar.gz gcc-8efb4b35f3dbd086544c67b2835e579e3926a516.tar.bz2 |
re PR debug/54693 (VTA guality issues with loops)
PR debug/54693
* loop-unroll.c (loop_exit_at_end_p): Skip debug insns.
From-SVN: r192958
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r-- | gcc/loop-unroll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index 92e3c1a..a539b42 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -215,7 +215,7 @@ loop_exit_at_end_p (struct loop *loop) /* Check that the latch is empty. */ FOR_BB_INSNS (loop->latch, insn) { - if (INSN_P (insn)) + if (NONDEBUG_INSN_P (insn)) return false; } |