From: Bernd Edlinger <bernd.edlinger@hotmail.de>
To: Richard Biener <richard.guenther@gmail.com>
Cc: Jakub Jelinek <jakub@redhat.com>,
"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
Jeff Law <law@redhat.com>, Eric Botcazou <ebotcazou@adacore.com>
Subject: RE: [RFC] Sanitize rtx_addr_can_trap_p_1
Date: Thu, 11 Jun 2015 16:04:00 -0000 [thread overview]
Message-ID: <DUB118-W46DAFEE93632A322E7C95DE4BC0@phx.gbl> (raw)
In-Reply-To: <CAFiYyc2BhTi9McAW33wKFJLPVUbL9BPXcFXBrvWREQTVwt-xJw@mail.gmail.com>
Hi,
On Thu, 11 Jun 2015 12:56:50, Richard Biener wrote:
>
> I also think we need to be conservative. I didn't look at the patch in detail
> to check whether we are indeed conservative here (what about offsets
> that are not visibly constant like for if (n> m) ... a[m];?).
>
we only handle constant values for m, if m does not look like a constant we
use pointer arithmetic, and that can always trap.
Bernd.
next prev parent reply other threads:[~2015-06-11 16:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 7:48 Bernd Edlinger
2015-06-11 8:40 ` Jakub Jelinek
2015-06-11 10:44 ` Bernd Edlinger
2015-06-11 10:57 ` Richard Biener
2015-06-11 16:04 ` Bernd Edlinger [this message]
2015-06-11 11:00 ` Jakub Jelinek
2015-06-11 14:38 ` Bernd Edlinger
2015-06-11 14:40 ` Richard Biener
2015-06-11 15:55 ` Bernd Edlinger
2015-06-11 11:29 ` Eric Botcazou
2015-06-11 11:57 ` Jakub Jelinek
2015-06-12 9:24 ` Bernd Edlinger
2015-06-15 9:03 ` Bernd Edlinger
2015-07-01 12:31 ` [PING] " Bernd Edlinger
2015-07-01 12:35 ` Jakub Jelinek
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=DUB118-W46DAFEE93632A322E7C95DE4BC0@phx.gbl \
--to=bernd.edlinger@hotmail.de \
--cc=ebotcazou@adacore.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jakub@redhat.com \
--cc=law@redhat.com \
--cc=richard.guenther@gmail.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).