This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Internal compiler error 89


Hi,

first, I would like to say that egcs and gcc-2.95 is a great work! You
all did and do a great job! Thank you for such a nice compiler suite.

Now the problem: Gcc 2.95 terminates compiling the following invalid C++
code with an internal error instead of printing an error message:


-------- 8>< -------- 8>< -------- 8>< -------- 8>< --------
enum A { SOMETHING };

class B {
    using A::sometext;
};
-------- 8>< -------- 8>< -------- 8>< -------- 8>< --------    


I don't included the pre processor output, because their isn't any pre
processor usage... But the compiler messages and version should be
usefull:


-------- 8>< -------- 8>< -------- 8>< -------- 8>< --------
#> c++ -c -v bug1.cpp
Reading specs from /opt/gnu/lib/gcc-lib/i586-pc-linux-gnulibc1/2.95/specs
gcc version 2.95 19990728 (release)
 /opt/gnu/lib/gcc-lib/i586-pc-linux-gnulibc1/2.95/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium -D__pentium__ bug1.cpp /tmp/ccXhYqeE.ii
GNU CPP version 2.95 19990728 (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /opt/gnu/lib/gcc-lib/i586-pc-linux-gnulibc1/2.95/include/g++
 /usr/local/include
 /opt/gnu/lib/gcc-lib/i586-pc-linux-gnulibc1/2.95/../../../../i586-pc-linux-gnulibc1/include
 /opt/gnu/lib/gcc-lib/i586-pc-linux-gnulibc1/2.95/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
 /opt/gnu/lib/gcc-lib/i586-pc-linux-gnulibc1/2.95/cc1plus /tmp/ccXhYqeE.ii -quiet -dumpbase bug1.cc -version -o /tmp/ccsKTDI7.s
GNU C++ version 2.95 19990728 (release) (i586-pc-linux-gnulibc1) compiled by GNU C version 2.95 19990728 (release).
bug1.cpp:5: Internal compiler error 89.
bug1.cpp:5: Please submit a full bug report.
bug1.cpp:5: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for instructions.
-------- 8>< -------- 8>< -------- 8>< -------- 8>< --------


My system is Linux 2.0.35, i386, libc5, ELF.


cu
		Michael



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]