[Bug c++/11308] New: ICE when calling a function on an enum type
rschiele at uni-mannheim dot de
gcc-bugzilla@gcc.gnu.org
Tue Jun 24 15:50:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11308
Summary: ICE when calling a function on an enum type
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rschiele at uni-mannheim dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i486-suse-linux
GCC host triplet: i486-suse-linux
GCC target triplet: i486-suse-linux
gcc 3.3.x ICEs on the following invalid code:
enum a { };
void b() {
a::c();
}
# g++ -c test.cc
test.cc: In function `void b()':
test.cc:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gcc 3.4 handles the case correctly.
More information about the Gcc-bugs
mailing list