]> gcc.gnu.org Git - gcc.git/commitdiff
graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in case of a return...
authorAditya Kumar <aditya.k7@samsung.com>
Wed, 15 Jul 2015 21:36:55 +0000 (21:36 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 15 Jul 2015 21:36:55 +0000 (21:36 +0000)
        * graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in
        case of a return statement in scop.

Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r225849

gcc/ChangeLog
gcc/graphite-scop-detection.c

index 52110ee9c9e10f73cb58460b532cde1d5a85d319..6600494d878e0f2d892dec94dbbfcf8979fcd369 100644 (file)
@@ -1,3 +1,9 @@
+2015-07-15  Aditya Kumar  <aditya.k7@samsung.com>
+            Sebastian Pop <s.pop@samsung.com>
+
+        * graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in
+       case of a return statement in scop.
+
 2015-07-15  Aditya Kumar  <aditya.k7@samsung.com>
            Sebastian Pop <s.pop@samsung.com>
 
index 47e0da046e14885b837e2cc8e318f714b069b12c..b45a6823df17793102c197d5efe9f3d72ead9d7e 100644 (file)
@@ -349,7 +349,6 @@ stmt_simple_for_scop_p (basic_block scop_entry, loop_p outermost_loop,
 
   switch (gimple_code (stmt))
     {
-    case GIMPLE_RETURN:
     case GIMPLE_LABEL:
       return true;
 
This page took 0.110682 seconds and 5 git commands to generate.