This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal Compiler Error on "throw NULL;"
- To: egcs-bugs at cygnus dot com
- Subject: Internal Compiler Error on "throw NULL;"
- From: Michal Ostrowski <mostrows at styx dot uwaterloo dot ca>
- Date: Tue, 25 Aug 1998 17:21:11 -0400
[eramosa:emu]# g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
[eramosa:emu]# g++ -c bug.cc
bug.cc: In function `const class type_info & __tf?()':
bug.cc:8: Internal compiler error 252.
bug.cc:8: Please submit a full bug report to `egcs-bugs@cygnus.com'.
Source which caused error:
- bug.cc -----------------------
#include <stddef.h>
int main(){
try{
throw NULL;
}
catch(char*){
}
}
--------------------------------
The egcs binaries were obtained from RedHat package
egcs-1.0.2-8.i386.rpm and egcs-c++-1.0.2-8.i386.rpm (from
ftp.redhat.com)
The system is a RedHat based linux machine, kernel 2.0.32
Michal Ostrowski
mostrows@styx.uwaterloo.ca