[Bug c++/9335] [4.3/4.4/4.5/4.6 regression] repeated diagnostic when maximum template depth is exceeded
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 28 08:40:00 GMT 2010
------- Comment #27 from manu at gcc dot gnu dot org 2010-04-28 08:38 -------
The current output is:
recurse2.C:5:38: error: template instantiation depth exceeds maximum of 1024
(use -ftemplate-depth= to increase the maximum) instantiating Âstruct
X<-0x00000000000000018>Â
recurse2.C:5:38: recursively instantiated from Âconst int X<999>::valueÂ
recurse2.C:5:38: instantiated from Âconst int X<1000>::valueÂ
recurse2.C:8:17: instantiated from here
recurse2.C:5:38: error: incomplete type ÂX<-0x00000000000000018>Â used in
nested name specifier
>From my point of view this is FIXED. I am not going to backport any patches.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9335
More information about the Gcc-bugs
mailing list