fatal signal 11 (segfault) (g++)
Matthias Urlichs
smurf@noris.de
Fri May 15 15:27:00 GMT 1998
The following test case causes a fatal signal 11 (segfault).
#################
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.28/specs
gcc version egcs-2.91.28 19980508 (gcc2 ss-980502 experimental)
#################
gcc -c /tmp/bug.cpp
#################
struct foo { int bar; }
int baz (void)
{
struct foo *foo;
{
struct foo *new_foo;
}
return foo->bar;
}
#################
--
Matthias Urlichs
noris network GmbH
--
Matthias Urlichs
noris network GmbH
More information about the Gcc-bugs
mailing list