diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2010-03-15 19:18:49 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2010-03-15 19:18:49 +0000 |
commit | 7dee65d88aac66bb29077c470a10b6969ac8450d (patch) | |
tree | bc756dab0881d564235980e7ba48a4d5b602a574 /gcc/graphite-sese-to-poly.c | |
parent | eb3934d83435b68f0e51555e7e4839092e96032a (diff) | |
download | gcc-7dee65d88aac66bb29077c470a10b6969ac8450d.tar.gz |
graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip debug statements.
* graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip
debug statements.
From-SVN: r157465
Diffstat (limited to 'gcc/graphite-sese-to-poly.c')
-rw-r--r-- | gcc/graphite-sese-to-poly.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index b0bc3481cd2..c222b932d97 100644 --- a/gcc/graphite-sese-to-poly.c +++ b/gcc/graphite-sese-to-poly.c @@ -2366,7 +2366,8 @@ rewrite_cross_bb_scalar_deps (sese region, gimple_stmt_iterator *gsi) FOR_EACH_IMM_USE_STMT (use_stmt, imm_iter, def) if (def_bb != gimple_bb (use_stmt) - && gimple_code (use_stmt) != GIMPLE_PHI) + && gimple_code (use_stmt) != GIMPLE_PHI + && !is_gimple_debug (use_stmt)) { if (!zero_dim_array) { |