This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8623: Internal compiler error in fixup_var_refs_1, at function.c:1966
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gnats at krimedawg dot org, nobody at gcc dot gnu dot org
- Date: 18 Nov 2002 22:39:09 -0000
- Subject: Re: c++/8623: Internal compiler error in fixup_var_refs_1, at function.c:1966
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gnats at krimedawg dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Internal compiler error in fixup_var_refs_1, at function.c:1966
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Nov 18 14:39:08 2002
State-Changed-Why:
Confirmed. A reduced testcase is this:
------------------------------------
void foo (unsigned int *buf0, int dstW) {
const int yalpha1=0;
asm volatile("xorl %%eax, %%eax"
: :
"r" (buf0),
"r" (buf0),
"r" (buf0),
"r" (buf0),
"r" (buf0),
"m" (dstW),
"m" (yalpha1),
"m" (dstW)
: "%eax");
}
-------------------------------------
I get:
tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -fPIC -c y.cc
y.cc: In function `void foo(unsigned int*, int)':
y.cc:14: internal compiler error: in instantiate_virtual_regs_1, at function.c:
3936
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
and with different flags:
tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -O1 -fPIC -c y.cc
y.cc: In function `void foo(unsigned int*, int)':
y.cc:14: internal compiler error: in fixup_var_refs_1, at function.c:1938
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
So there may be two bugs.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8623