public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Aditya Kumar <hiraditya@msn.com>
To: gcc-patches@gcc.gnu.org,	sebpop@gmail.com,	tobias@grosser.es,
	hiraditya@msn.com
Subject: [PATCH] Graphite cannot handle return stmt
Date: Tue, 30 Jun 2015 20:55:00 -0000	[thread overview]
Message-ID: <1435697428-9604-1-git-send-email-hiraditya@msn.com> (raw)
In-Reply-To: <1435611532-31080-1-git-send-email-hiraditya at msn dot com>

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.

---
 gcc/graphite-scop-detection.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c
index e8ddecd..a14142f 100644
--- a/gcc/graphite-scop-detection.c
+++ b/gcc/graphite-scop-detection.c
@@ -364,7 +364,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;
 
-- 
2.1.0.243.g30d45f7

       reply	other threads:[~2015-06-30 20:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1435611532-31080-1-git-send-email-hiraditya at msn dot com>
2015-06-30 20:55 ` Aditya Kumar [this message]
2015-07-02  7:52   ` Tobias Grosser
2015-06-29 21:33 Aditya Kumar
2015-06-30  0:43 ` Sebastian Pop
2015-06-30  6:43   ` Tobias Grosser
2015-06-30  8:16     ` Richard Biener

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1435697428-9604-1-git-send-email-hiraditya@msn.com \
    --to=hiraditya@msn.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=sebpop@gmail.com \
    --cc=tobias@grosser.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).