This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #17 from manu at gcc dot gnu dot org  2010-04-16 22:24 -------
(In reply to comment #16)
> Created an attachment (id=20403)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20403&action=view) [edit]
> patch to stop error cascade
> 
> This patch fixes the repeated error; it turns out I was wrong about this being
> related to default int.  Do you want to experiment more with this patch or
> should I just check it in?
> 

I still don't understand why this fixes the problem, but whatever. What is the
output with your patch?

Do you think that my patch is to emit "recursively instantiated" would still be
useful in general? Should I submit it properly?


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]