public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/36201] NVR in the front-end causes missed optimization later on (<retval> thought to alias arguments)
Date: Tue, 13 May 2008 11:42:00 -0000	[thread overview]
Message-ID: <20080513114146.1206.qmail@sourceware.org> (raw)
In-Reply-To: <bug-36201-6528@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-05-13 11:41 -------
The patch isn't really correct, but the problem is that the fact that <result>
is marked addressable is causing flow-insensitive analysis to say that the
incoming pointers can alias it.

Also incoming pointers don't get useful constraints for PTA - they should get
&NONLOCAL (err, ok - we had that once ;)).  Or we can simply prune the
points-to set after the fact.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36201


  parent reply	other threads:[~2008-05-13 11:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-10 19:36 [Bug middle-end/36201] New: " pinskia at gcc dot gnu dot org
2008-05-13  8:44 ` [Bug middle-end/36201] " rguenth at gcc dot gnu dot org
2008-05-13  9:15 ` rguenth at gcc dot gnu dot org
2008-05-13 11:42 ` rguenth at gcc dot gnu dot org [this message]
2008-05-13 13:16 ` rguenth at gcc dot gnu dot org
2008-12-31 21:12 ` [Bug middle-end/36201] [4.4 Regression] " pinskia at gcc dot gnu dot org
2009-01-05 11:19 ` rguenth at gcc dot gnu dot org
2009-04-03 10:28 ` [Bug middle-end/36201] [4.4/4.5 " rguenth at gcc dot gnu dot org
2009-04-03 10:33 ` [Bug middle-end/36201] [4.4 " rguenth at gcc dot gnu dot org
2009-04-21 16:01 ` jakub at gcc dot gnu dot org
2009-07-22 10:35 ` jakub at gcc dot gnu dot org
2009-10-15 12:53 ` jakub at gcc dot gnu dot org
2010-01-21 13:19 ` jakub at gcc dot gnu dot org
2010-04-30  8:58 ` jakub at gcc dot gnu dot org

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=20080513114146.1206.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).