[Bug c++/52859] New: ICE ("Error reporting routines re-entered") on highly recursive template code
jewillco at osl dot iu.edu
gcc-bugzilla@gcc.gnu.org
Wed Apr 4 01:05:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52859
Bug #: 52859
Summary: ICE ("Error reporting routines re-entered") on highly
recursive template code
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jewillco@osl.iu.edu
Created attachment 27083
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27083
Semi-trimmed test program
I am not sure whether this program is valid C++11 or not, but it causes the
error:
‘
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.
(backquote in original error message; turns into a normal single quote in the C
locale). If line 180 (marked with asterisks) is commented out, the compiler
goes into an infinite loop of template instantiations, stopped by the depth
limit; other seemingly meaningless changes cause the same result. Because of
the use of std::tuple, I was not able to trim the code to something tiny; note
that I simplified the parts of the code that came from the standard library as
well.
More information about the Gcc-bugs
mailing list