From: Aditya Kumar Date: Wed, 15 Jul 2015 21:36:55 +0000 (+0000) Subject: graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in case of a return... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ee9ef73c3f428df74ad1dad692b493f4210e049;p=gcc.git graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in case of a return statement in scop. * graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in case of a return statement in scop. Co-Authored-By: Sebastian Pop From-SVN: r225849 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 52110ee9c9e..6600494d878 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-07-15 Aditya Kumar + Sebastian Pop + + * graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in + case of a return statement in scop. + 2015-07-15 Aditya Kumar Sebastian Pop diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c index 47e0da046e1..b45a6823df1 100644 --- a/gcc/graphite-scop-detection.c +++ b/gcc/graphite-scop-detection.c @@ -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;