bug report for egcs-1.0.3
Mike Brennan
brennan@whidbey.com
Fri Jul 24 10:55:00 GMT 1998
Here is an internal compiler error report.
##########################
$ cat t.C
struct Foo {
virtual bool is_foo() { return true ;}
} ;
void bar(Foo* f)
{
if (f && f->is_foo) {}
}
$ g++ -c t.C
t.C: In function `void bar(struct Foo *)':
t.C:10: Internal compiler error.
t.C:10: Please submit a full bug report to `egcs-bugs@cygnus.com'.
$ g++ --version
egcs-2.90.29 980515 (egcs-1.0.3 release)
$ uname -a
Linux kaboom 2.0.30 #1 Wed Jun 4 15:02:33 EDT 1997 i586 unknown
#############################
There is a typo in the program.
f->is_foo() was intended. Then it works OK.
More information about the Gcc-bugs
mailing list