[Bug c++/9335] repeated diagnostic when maximum template depth is exceeded

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Apr 18 14:42:00 GMT 2010



------- Comment #20 from jason at gcc dot gnu dot org  2010-04-18 14:42 -------
(In reply to comment #19)
> Well, the patch is mostly done, it reduces the output from 11 to 1 lines and it
> neatly points out where is the recursive instantiation. So I hope you may
> reconsider, unless you think the 101 lines are useful to the user somehow.

101 lines? Is that a typo?

If this change only applies to the case where all 11 lines would be
instantiations of the same template I guess it sounds reasonable, though the
11-line output seems a bit clearer as to where the recursion is happening. 
Perhaps two instantiation lines in this case so we see the first recursion?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9335



More information about the Gcc-bugs mailing list