This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 06/30/2015 02:12 AM, Sebastian Pop wrote:
On Mon, Jun 29, 2015 at 3:58 PM, Aditya Kumar <hiraditya@msn.com> wrote:No regressions. 2015-06-29 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.Looks good to me. Tobi, do you see a good reason not to cut scops at return stmts?
Return stmts in a SCoP are definitely invalid. Now, as in my last email, I wonder why this is not a positive list. There are probably a lot of gimple codes that are invalid inside scops. By default we should refuse everything we do _not_ know.
Best, Tobias
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |