[Bug c++/70111] Internal compiler error on constant enum access
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 7 06:33:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70111
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |trippels at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
From the manual:
-ftemplate-depth=n
Set the maximum instantiation depth for template classes to n. A
limit on the template instantiation depth is needed to detect endless
recursions during template class instantiation. ANSI/ISO C++
conforming programs must not rely on a maximum depth greater than 17 (changed
to
1024 in C++11). The default value is 900, as the compiler can run
out of stack space before hitting 1024 in some situations.
More information about the Gcc-bugs
mailing list