[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