graphite-sese-to-poly.c (split_reduction_stmt): Skip debug statements before splitting block.

* graphite-sese-to-poly.c (split_reduction_stmt): Skip debug
        statements before splitting block.

From-SVN: r157494
This commit is contained in:
Aldy Hernandez 2010-03-16 20:04:04 +00:00 committed by Aldy Hernandez
parent 17a7cb4e54
commit c36fed0ca4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-03-16 Aldy Hernandez <aldyh@redhat.com>
* graphite-sese-to-poly.c (split_reduction_stmt): Skip debug
statements before splitting block.
2010-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* doc/sourcebuild.texi (Testsuites): Fix markup.

View File

@ -2466,7 +2466,7 @@ split_reduction_stmt (gimple stmt)
split_block (bb, stmt);
if (gsi_one_before_end_p (gsi_start_bb (bb)))
if (gsi_one_before_end_p (gsi_start_nondebug_bb (bb)))
return bb;
gsi = gsi_last_bb (bb);