From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30374 invoked by alias); 18 Apr 2010 14:42:42 -0000 Received: (qmail 30314 invoked by uid 48); 18 Apr 2010 14:42:29 -0000 Date: Sun, 18 Apr 2010 14:42:00 -0000 Message-ID: <20100418144229.30313.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/9335] repeated diagnostic when maximum template depth is exceeded In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jason at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg01681.txt.bz2 ------- 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