[PATCH] Fix wrong-code at -O0 with MEM_REF in initializer (PR middle-end/53084)
Jakub Jelinek
jakub@redhat.com
Tue Apr 24 05:59:00 GMT 2012
On Tue, Apr 24, 2012 at 07:56:11AM +0200, Richard Guenther wrote:
> On Tue, Apr 24, 2012 at 1:03 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> > Hi!
> >
> > output_addressed_constants isn't able to output constants addressed
> > with &MEM_REF<&something, X> and similarly compute_reloc_for_constant
> > doesn't handle it. Â Fixed thusly, bootstrapped/regtested on x86_64-linux and
> > i686-linux, ok for trunk/4.7?
>
> Isn't this latent in 4.6?
Possibly. The bug started being reproduceable on this testcase with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178312
and stopped being reproducible with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186687
Jakub
More information about the Gcc-patches
mailing list