G++-current: ICE: Comparing a class instance with __null
Matthias Urlichs
smurf@noris.de
Sat May 30 16:26:00 GMT 1998
The following code causes an ICE 390 in g++-current.
NB, please disregard all my previous bug reports, they work now.
I'm seriously impressed -- thanks to everybody involved.
############################
gcc -c kw.cpp
############################
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.33/specs
gcc version egcs-2.91.33 19980530 (gcc2 ss-980502 experimental)
/usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.33/cc1plus /tmp/ccLIHdea.ii -quiet -dumpbase kw.cc -version -o /tmp/ccLIHdea.s
GNU C++ version egcs-2.91.33 19980530 (gcc2 ss-980502 experimental) (i586-pc-linux-gnu) compiled by GNU C version egcs-2.91.32 19980525 (gcc2 ss-980502 experimental).
kw.cpp: In function `int foo()':
kw.cpp:5: Internal compiler error 390.
kw.cpp:5: Please submit a full bug report to `egcs-bugs@cygnus.com'.
############################
class QString { };
int foo()
{
QString bar;
if (bar == __null ) {
}
}
--
Matthias Urlichs
noris network GmbH
More information about the Gcc-bugs
mailing list