Surprisingly bad code generated near char*

Avi Kivity avi@scylladb.com
Thu Aug 18 13:35:00 GMT 2016



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.



More information about the Gcc-help mailing list