c/6123: sparc-sun-solaris2.7 gcc-3.1 C testsuite failure in verify_local_live_at_start w/-fpic|-fPIC on gcc.dg/20020312-2.c
Christian Ehrhardt
ehrhardt@mathematik.uni-ulm.de
Tue Nov 26 05:26:00 GMT 2002
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6123
Hi,
I can confirm this on sparc with GNU-ld and on linux. A minimal example
for the sparc i386 case is this (compile with gcc -O -fpic to get the ICE):
register void *reg __asm__("ebx");
void f (void)
{
goto *(&&bar);
foo:
reg = (void *) 1;
if (!reg)
goto bar;
reg = &&foo;
bar:
baz:
reg = 0;
}
Replace ebx with l7 on sparc.
regards Christian
--
THAT'S ALL FOLKS!
More information about the Gcc-bugs
mailing list