[Solaris 8/SPARC V9] C ICE in verify_local_live_at_start
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Wed Jul 26 09:54:00 GMT 2000
The current (as of yesterday) CVS version of gcc gets an ICE on the
following input, on 64-bit Solaris 8/SPARC. Without -O, the same code
compiles fine.
> gcc -m64 -O -v -c getflt.i
Reading specs from /vol/gcc/lib/gcc-lib/sparc-sun-solaris2.8/2.96/specs
gcc version 2.96 20000725 (experimental)
/vol/gcc/lib/gcc-lib/sparc-sun-solaris2.8/2.96/cc1 getflt.i -mptr64 -mstack-bias -mno-v8plus -mcpu=v9 -quiet -dumpbase getflt.i -m64 -O -version
GNU C version 2.96 20000725 (experimental) (sparc-sun-solaris2.8) compiled by GNU C version 2.96 20000725 (experimental).
getflt.i: In function `getflt':
getflt.i:22: Internal compiler error in verify_local_live_at_start, at flow.c:2729
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
typedef unsigned char u_char;
union uval {
u_char bd[8];
int iv;
float fv;
double dv;
};
static float
getflt(
u_char *bp
)
{
union uval uval;
uval.bd[0] = *bp++;
uval.bd[1] = *bp++;
uval.bd[2] = *bp++;
uval.bd[3] = *bp;
return uval.fv;
}
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE
More information about the Gcc-bugs
mailing list