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++/53567] New: ICE: Error reporting routines re-entered on missing enum entry


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53567

             Bug #: 53567
           Summary: ICE: Error reporting routines re-entered on missing
                    enum entry
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: lunow@math.hu-berlin.de


C:\dev\projects\chess>gcc --std=c++11 gcc_test.cpp
'
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

I attached a minimal testcase.

I would expect something like:
C:\dev\projects\chess>gcc --std=c++11 gcc_test.cpp
gcc_test.cpp: In instantiation of 'EnumMask<EnumT> operator~(EnumT) [with EnumT
= A; typename IntegerType<sizeof (EnumT), ((EnumT)((-1)) > (EnumT)(0))>::type =
unsigne
d int]':
gcc_test.cpp:26:7:   required from here
gcc_test.cpp:21:57: error: 'maskAll' is not a member of 'A'


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