This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Surprisingly bad code generated near char*
On 18/08/16 14:35, Avi Kivity wrote:
>
> On 08/18/2016 03:33 PM, Manuel López-Ibáñez wrote:
>> On 18/08/16 09:45, Avi Kivity wrote:
>>> I wanted to test how restrict helps in code generation. I started
>>> with this
>>> example:
>>
>> There are quite a few number of missed-optimizations with restrict:
>> https://gcc.gnu.org/PR49774
>>
>> If you issue is not in that list, you may wish to open a new PR.
>
> Here, the missed optimizations started even before I started playing
> with restrict. But I'll see if I need to file the last one.
I haven't been able to duplicate this behaviour on any GCC to which I
have access.
Andrew.