[LAD] gcc and pointer aliasing... missing optimizations in some cases
Tim Blechmann
tim at klingt.org
Sat Dec 26 09:50:40 UTC 2009
>>> 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__
did you check http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14187?
tim
--
tim at klingt.org
http://tim.klingt.org
You can play a shoestring if you're sincere
John Coltrane
More information about the Linux-audio-dev
mailing list