This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53567] New: ICE: Error reporting routines re-entered on missing enum entry
- From: "lunow at math dot hu-berlin.de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 03 Jun 2012 19:49:53 +0000
- Subject: [Bug c++/53567] New: ICE: Error reporting routines re-entered on missing enum entry
- Auto-submitted: auto-generated
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'