This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8803: [3.2/3.3 regression] Internal compiler error in instantiate_virtual_regs_1, at function.c:3974
- From: bangerth at dealii dot org
- To: anonymous at sources dot redhat dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 4 Dec 2002 21:47:54 -0000
- Subject: Re: c++/8803: [3.2/3.3 regression] Internal compiler error in instantiate_virtual_regs_1, at function.c:3974
- Reply-to: bangerth at dealii dot org, anonymous at sources dot redhat dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: Internal compiler error in instantiate_virtual_regs_1, at function.c:3974
New Synopsis: [3.2/3.3 regression] Internal compiler error in instantiate_virtual_regs_1, at function.c:3974
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Dec 4 13:47:53 2002
State-Changed-Why:
Confirmed. A simpler testcase is
------------------------------------
void f (unsigned char * u) {
char U1U2U3U4 [8];
asm ("pxor %[U], %[U]\n\t"
"punpacklbw %[u], %[U]\n\t"
: [U] "=y" (*U1U2U3U4)
: [u] "m" (*u));
}
--------------------------
on which I get (with 3.2.2pre and 3.3pre)
tmp/g> /home/bangerth/bin/gcc-3.0.4/bin/gcc -c test.cc
test.cc: In function `void f(unsigned char*)':
test.cc:5: parse error before `[' token
tmp/g> /home/bangerth/bin/gcc-3.2/bin/gcc -c test.cc
test.cc: In function `void f(unsigned char*)':
test.cc:7: Internal compiler error in instantiate_virtual_regs_1, at function.c
:3972
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
The code did not compile with 3.0.4, since apparently
some syntax about [U] in the asm statement is not understood.
Nevertheless, that it now ICEs is a regression, so I mark it
as that.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8803