public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Sebastian Pop <sebpop@gmail.com>
To: Richard Biener <richard.guenther@gmail.com>
Cc: Sebastian Paul Pop <s.pop@samsung.com>,
	GCC Patches <gcc-patches@gcc.gnu.org>,
	hiraditya@msn.com
Subject: Re: [PATCH 2/2] [graphite] fix invalid bounds on array refs
Date: Thu, 03 Dec 2015 21:14:00 -0000	[thread overview]
Message-ID: <20151203211412.GA32487@f1.c.bardezibar.internal> (raw)
In-Reply-To: <CAFiYyc0n0e55Hh1MF-sEhECroRGS_+UUXse3gFW82kQQqhTG7Q@mail.gmail.com>

Richard Biener wrote:
> On Wed, Dec 2, 2015 at 10:36 PM, Sebastian Paul Pop <s.pop@samsung.com> wrote:
> > Do you recommend that we add a gcc_assert that min is always lower than max?
> 
> No, min can be one less than max if the array has size zero.

Maybe a typo: do you mean max can be one less than min?

If the array has size zero, then I think ISL is correct in saying that there are
no dependences.  As we miscompiled the testcase, I think that the bug is in the
Fortran front-end.

  reply	other threads:[~2015-12-03 21:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02 16:34 [PATCH 1/2] [graphite] rename flag_loop_optimize_isl to flag_loop_nest_optimize Sebastian Pop
2015-12-02 16:34 ` [PATCH 2/2] [graphite] fix invalid bounds on array refs Sebastian Pop
2015-12-02 21:18   ` Richard Biener
2015-12-02 21:36     ` Sebastian Paul Pop
2015-12-03  9:50       ` Richard Biener
2015-12-03 21:14         ` Sebastian Pop [this message]
2015-12-04 10:13           ` 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=20151203211412.GA32487@f1.c.bardezibar.internal \
    --to=sebpop@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hiraditya@msn.com \
    --cc=richard.guenther@gmail.com \
    --cc=s.pop@samsung.com \
    /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).