diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-29 19:27:09 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-29 19:27:09 +0000 |
commit | eb912266699a6a5636b1042d4e1e555cc41223f3 (patch) | |
tree | 06ca8a4cef11d1cf74a28daee9c750544ac6e373 | |
parent | 9d560cf52c9dfd749f5a9ecd84db1dc83967756c (diff) | |
download | gcc-eb912266699a6a5636b1042d4e1e555cc41223f3.tar.gz |
PR debug/54693
* loop-unroll.c (loop_exit_at_end_p): Skip debug insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192958 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/loop-unroll.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 94dc1035bbf..fd75ccd3a3e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,11 @@ 2012-10-29 Alexandre Oliva <aoliva@redhat.com> PR debug/54693 + * loop-unroll.c (loop_exit_at_end_p): Skip debug insns. + +2012-10-29 Alexandre Oliva <aoliva@redhat.com> + + PR debug/54693 * config/i386/i386.c (add_parameter_dependencies): Stop backward scan at the insn before the incoming head. (ix86_dependencies_evaluation_hook): Skip debug insns. Stop diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index 92e3c1a127c..a539b42a3da 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; } |