From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28983 invoked by alias); 28 Apr 2010 08:40:35 -0000 Received: (qmail 27937 invoked by uid 48); 28 Apr 2010 08:38:58 -0000 Date: Wed, 28 Apr 2010 08:40:00 -0000 Message-ID: <20100428083858.27933.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/9335] [4.3/4.4/4.5/4.6 regression] 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: "manu 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/msg02922.txt.bz2 ------- 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