[PATCH][RFC] Fix PR49957 - build array index differently

Tobias Burnus burnus@net-b.de
Wed Aug 3 21:03:00 GMT 2011


Richard Guenther wrote:
> On Wed, 3 Aug 2011, Richard Guenther wrote:
>> Bootstrap and regtest is currently running on x86_64-unknown-linux-gnu,
>> the reversed loop one was ok (well, apart from those 2-3 fails).
> Re-bootstrapping currently.  The previous patch tested ok.

The patch looks OK. I don't know why the your first attempt of reversing 
the loops failed - but admittedly, I also do not exactly know what you 
did. I failed to come up with some other place where the order could be 
noncanonical; for instance, I think the code generated for arrays of 
strings should be fine.

Thanks for the patch!

Tobias



More information about the Gcc-patches mailing list