public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: torbenh <torbenh@gmx.de>
To: gcc@gcc.gnu.org
Subject: Re: adding -fnoalias ... would a patch be accepted ?
Date: Tue, 05 Jan 2010 15:03:00 -0000	[thread overview]
Message-ID: <20100105150333.GC20987@siel.b> (raw)
In-Reply-To: <84fc9c001001050546u601e565ch47783a4cb11b3eca@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

On Tue, Jan 05, 2010 at 02:46:30PM +0100, Richard Guenther wrote:
> On Tue, Jan 5, 2010 at 2:40 PM, torbenh <torbenh@gmx.de> wrote:
> 
> The -fno-alias-X things do not make much sense for user code (they
> have been historically used from Frontends).  If restrict doesn't work
> for you (do you have a testcase that can reproduce your issue?)
> then you probably need to wait for IPA pointer analysis to be
> fixed in GCC 4.6.

sorry... forget the attachment :S


-- 
torben Hohn

[-- Attachment #2: ramp.cc --]
[-- Type: text/x-c++src, Size: 224 bytes --]


#include "stddef.h"

struct Ramp {
    float phase;
    inline float process() { return phase++; }
} ramp;

void fill_buffer( float *buf, size_t nframes )
{
    for( size_t i=0; i<nframes; i++ )
	buf[i] = ramp.process();
}

  parent reply	other threads:[~2010-01-05 15:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-05 13:40 torbenh
2010-01-05 13:46 ` Richard Guenther
2010-01-05 15:02   ` torbenh
2010-01-05 16:42     ` Tim Prince
2010-01-05 15:03   ` torbenh [this message]
2010-01-05 15:27     ` Richard Guenther
2010-01-05 16:39       ` torbenh
2010-01-06 13:27         ` Richard Guenther
2010-01-06 15:26           ` torbenh
2010-01-06 15:45             ` Richard Guenther
2010-01-06 15:49               ` Richard Guenther
2010-01-06 16:48                 ` torbenh
2010-01-06 17:37               ` torbenh
2010-01-06 15:45             ` torbenh
2010-01-06 15:51               ` 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=20100105150333.GC20987@siel.b \
    --to=torbenh@gmx.de \
    --cc=gcc@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).