http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60568

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #7)
> (In reply to Jakub Jelinek from comment #6)
> > Created attachment 32397 [details]
> > gcc49-pr60568.patch
> 
>         fnaddr = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, fnaddr), UNSPEC_GOT);
> -       fnaddr = gen_rtx_PLUS (Pmode, fnaddr, tmp);
> +       fnaddr = gen_rtx_CONST (Pmode, fnaddr);
> +       fnaddr = gen_rtx_PLUS (Pmode, tmp, fnaddr);
>         fnaddr = gen_rtx_MEM (Pmode, fnaddr);
> 
>         fnaddr = gen_const_mem (Pmode, fnaddr) ?

Maybe, but have not included that in my current bootstrap.
If we change that, we should also change it in the TARGET_64BIT case a few
lines above it.

Reply via email to