BUG report
Joachim Falk
jfalk@easynet.de
Sat Dec 19 08:27:00 GMT 1998
Hey
I have to report a minor BUG in egcs.1.1.1
The egcs version :
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
The system type :
Linux alpha 2.0.36 #2 Tue Dec 15 21:49:00 CET 1998 i586 unknown
Redhat 5.1 upgraded Kernel to 2.0.36 and egcs to egcs-1.1.1
All options you passed to egcs :
g++ -v test_bug.cpp
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.60/cpp -lang-c++ -v -undef
-D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -D__ELF__ -Dunix
-Di386 -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__i386__
-D__linux__ -D__unix -D__i386 -D__linux -Asystem(posix) -D__EXCEPTIONS
-Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586
-Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ test_bug.cpp
/tmp/cc8AZKAW.ii
GNU CPP version egcs-2.91.60 19981201 (egcs-1.1.1 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include/g++
/usr/local/include
/usr/local/i586-pc-linux-gnu/include
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.60/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.60/cc1plus
/tmp/cc8AZKAW.ii -quiet -dumpbase test_bug.cc -version -o /tmp/cc4CwmDR.s
GNU C++ version egcs-2.91.60 19981201 (egcs-1.1.1 release) (i586-pc-linux-gnu)
compiled by GNU C version egcs-2.91.60 19981201 (egcs-1.1.1 release).
test_bug.cpp: In function `int main()':
test_bug.cpp:8: warning: invalid use of type decl `struct help2' as expression
test_bug.cpp:8: warning: implicit declaration of function `int
something_undefined(...)'
test_bug.cpp:8: Internal compiler error 40.
test_bug.cpp:8: Please submit a full bug report to `egcs-bugs@cygnus.com'.
test_bug.cpp:8: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for
details.
Here file test_bug.cpp :
struct help1 {};
struct help2 { int help3; };
help1 *func();
int main(void)
{
something_undefined( func()->help2 );
}
HTH Joachim Falk
More information about the Gcc-bugs
mailing list