[PATCH]: Fix for PR ipa/64550

Richard Biener rguenther@suse.de
Mon Jan 12 10:36:00 GMT 2015


On Mon, 12 Jan 2015, Martin Liška wrote:

> Hello.
> 
> Following patch is fix for PR ipa/64550 which can bootstrap on
> x86_64-linux-pc.
> Explanation for the patch is described here: [1].
> 
> I hope this is correct fix for such cases?

Ah, using TREE_THIS_VOLATILE on the result of ao_ref_base
is wrong - you need to use r1.volatile_p != r2.volatile_p.

That's actually equivalent to what your patch does, thus that
is ok.

Thanks,
Richard.

> Thanks,
> Martin
> 
> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64550
> 

-- 
Richard Biener <rguenther@suse.de>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Jennifer Guild,
Dilip Upmanyu, Graham Norton HRB 21284 (AG Nuernberg)


More information about the Gcc-patches mailing list