This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24582] New: [4.1 regression] ICE in decl_jump_unsafe
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2005 22:09:17 -0000
- Subject: [Bug c++/24582] New: [4.1 regression] ICE in decl_jump_unsafe
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compile the to-be-attached test case, and you get an ICE in the front end after
errors:
jigdo-file.cc: At global scope:
jigdo-file.cc:491: error: 'class JigdoFileCmd::Command' is not a class or
namespace
jigdo-file.cc:491: error: ISO C++ forbids declaration of 'cmdOptions' with no
type
int<unnamed>::cmdOptions(int, char**)
jigdo-file.cc:493: error: 'binaryName' was not declared in this scope
jigdo-file.cc:496: error: 'optReporter' was not declared in this scope
jigdo-file.cc:546: error: 'optZipQuality' was not declared in this scope
jigdo-file.cc:547: internal compiler error: tree check: expected class 'type',
have 'exceptional' (error_mark) in decl_jump_unsafe, at cp/decl.c:2153
--
Summary: [4.1 regression] ICE in decl_jump_unsafe
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24582