[LAD] gcc and pointer aliasing... missing optimizations in some cases
torbenh
torbenh at gmx.de
Wed Dec 23 00:03:26 UTC 2009
On Tue, Dec 22, 2009 at 02:11:23PM -0600, Gabriel M. Beddingfield wrote:
>
>
> On Tue, 22 Dec 2009, Gabriel M. Beddingfield wrote:
>
> >Thus telling the compiler that `this` is not an alias when
> >process() is called.
>
> On second thought... since those didn't work for me, perhaps part of
> the problem is that osc_block is a global variable, and thus there's
> no way to prove __restrict__ on it.
>
> -gabriel
fields of structs are not unaliased, even when the pointer to the struct
is __restrict__
--
torben Hohn
More information about the Linux-audio-dev
mailing list