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]
Other format: [Raw text]

[Bug c++/24582] New: [4.1 regression] ICE in decl_jump_unsafe


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


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