From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9102 invoked by alias); 19 Feb 2010 01:54:56 -0000 Received: (qmail 9057 invoked by uid 48); 19 Feb 2010 01:54:42 -0000 Date: Fri, 19 Feb 2010 01:54:00 -0000 Message-ID: <20100219015442.9056.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/9335] Inordinately long output 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-02/txt/msg01897.txt.bz2 ------- Comment #8 from manu at gcc dot gnu dot org 2010-02-19 01:54 ------- However, this particular error has gotten much worse and now we iterate over the error: (...skipping a lot of lines...) pr9335.C: In instantiation of ‘const int X<15>::value’: pr9335.C:2:36: instantiated from ‘const int X<16>::value’ pr9335.C:2:36: instantiated from ‘const int X<17>::value’ pr9335.C:2:36: instantiated from ‘const int X<18>::value’ pr9335.C:2:36: instantiated from ‘const int X<19>::value’ pr9335.C:2:36: instantiated from ‘const int X<20>::value’ pr9335.C:4:17: instantiated from here pr9335.C:2:36: error: ‘X<15>::value’ cannot be initialized by a non-constant expression when being declared pr9335.C: In instantiation of ‘const int X<16>::value’: pr9335.C:2:36: instantiated from ‘const int X<17>::value’ pr9335.C:2:36: instantiated from ‘const int X<18>::value’ pr9335.C:2:36: instantiated from ‘const int X<19>::value’ pr9335.C:2:36: instantiated from ‘const int X<20>::value’ pr9335.C:4:17: instantiated from here pr9335.C:2:36: error: ‘X<16>::value’ cannot be initialized by a non-constant expression when being declared pr9335.C: In instantiation of ‘const int X<17>::value’: pr9335.C:2:36: instantiated from ‘const int X<18>::value’ pr9335.C:2:36: instantiated from ‘const int X<19>::value’ pr9335.C:2:36: instantiated from ‘const int X<20>::value’ pr9335.C:4:17: instantiated from here pr9335.C:2:36: error: ‘X<17>::value’ cannot be initialized by a non-constant expression when being declared pr9335.C: In instantiation of ‘const int X<18>::value’: pr9335.C:2:36: instantiated from ‘const int X<19>::value’ pr9335.C:2:36: instantiated from ‘const int X<20>::value’ pr9335.C:4:17: instantiated from here pr9335.C:2:36: error: ‘X<18>::value’ cannot be initialized by a non-constant expression when being declared pr9335.C: In instantiation of ‘const int X<19>::value’: pr9335.C:2:36: instantiated from ‘const int X<20>::value’ pr9335.C:4:17: instantiated from here pr9335.C:2:36: error: ‘X<19>::value’ cannot be initialized by a non-constant expression when being declared pr9335.C: In instantiation of ‘const int X<20>::value’: pr9335.C:4:17: instantiated from here pr9335.C:2:36: error: ‘X<20>::value’ cannot be initialized by a non-constant expression when being declared -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9335