This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/9335] repeated diagnostic when maximum template depth is exceeded
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Apr 2010 22:24:24 -0000
- Subject: [Bug c++/9335] repeated diagnostic when maximum template depth is exceeded
- References: <bug-9335-180@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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