------- 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