This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/60568] lto1: internal compiler error: in insn_min_length, at config/i386/i386.md:1599
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Mar 2014 22:37:51 +0000
- Subject: [Bug target/60568] lto1: internal compiler error: in insn_min_length, at config/i386/i386.md:1599
- Auto-submitted: auto-generated
- References: <bug-60568-4 at http dot gcc dot gnu dot org/bugzilla/>
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.