This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/56847] '-fpie' triggers - internal compiler error: in gen_add2_insn, at optabs.c:4705
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Apr 2013 05:28:21 +0000
- Subject: [Bug target/56847] '-fpie' triggers - internal compiler error: in gen_add2_insn, at optabs.c:4705
- Auto-submitted: auto-generated
- References: <bug-56847-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56847
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-04-05 05:28:21 UTC ---
Slightly reduced.
struct S { long int a, b; };
extern struct S e;
void
foo (void)
{
static __thread struct S s = { 0, 0 };
s = e;
}