public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ulf Magnusson <ulfalizer@gmail.com>
To: Ian Lance Taylor <iant@google.com>
Cc: gcc@gcc.gnu.org
Subject: Re: Suboptimal __restrict optimization?
Date: Tue, 04 Oct 2011 15:08:00 -0000	[thread overview]
Message-ID: <CAFkk2KRt4fAW+jWVFnUqJ=qapDt0tPRNhXWqTkVXv6Tbhi8=sA@mail.gmail.com> (raw)
In-Reply-To: <mcrd3edzuy6.fsf@coign.corp.google.com>

On Mon, Oct 3, 2011 at 10:22 PM, Ian Lance Taylor <iant@google.com> wrote:
> Ulf Magnusson <ulfalizer@gmail.com> writes:
>
>> Is there some reason why GCC couldn't generate this code for the first
>> version of C::f()? Is this a failure of optimization, or am I missing
>> something in how __restricted works?
>
> It's a failure of optimization.
>
> Ian
>

Is this something that has been improved in 4.6.x? (Sorry for the
initial non-reply-all.)

  reply	other threads:[~2011-10-04 15:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-02  0:59 Ulf Magnusson
2011-10-03 20:23 ` Ian Lance Taylor
2011-10-04 15:08   ` Ulf Magnusson [this message]
2011-10-04 15:47     ` Richard Guenther

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='CAFkk2KRt4fAW+jWVFnUqJ=qapDt0tPRNhXWqTkVXv6Tbhi8=sA@mail.gmail.com' \
    --to=ulfalizer@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=iant@google.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).