------- Comment #9 from manu at gcc dot gnu dot org  2010-02-19 01:59 -------
Now, I mean a recent GCC (4.5), not my patch.

The testcase for 23510 works ok and the output of my patch is:

pr9335-2.C:7:3: error: expected unqualified-id before ‘template’

pr9335-2.C: At global scope:
pr9335-2.C:4:3: error: template instantiation depth exceeds maximum of 50 (use
-ftemplate-depth-NN to increase the maximum) instantiating ‘struct
Factorial<4294967251u>’
pr9335-2.C:4:3:   instantiated from ‘Factorial<4294967252u>’
pr9335-2.C:4:3:   instantiated from ‘Factorial<4294967253u>’
pr9335-2.C:4:3:   instantiated from ‘Factorial<4294967254u>’
pr9335-2.C:4:3:   instantiated from ‘Factorial<4294967255u>’
pr9335-2.C:4:3:   instantiated from ‘Factorial<4294967256u>’
pr9335-2.C:4:3:   [ skipping 40 instantiation contexts ]
pr9335-2.C:4:3:   instantiated from ‘Factorial<1u>’
pr9335-2.C:4:3:   instantiated from ‘Factorial<2u>’
pr9335-2.C:4:3:   instantiated from ‘Factorial<3u>’
pr9335-2.C:4:3:   instantiated from ‘Factorial<4u>’
pr9335-2.C:4:3:   instantiated from ‘Factorial<5u>’
pr9335-2.C:17:20:   instantiated from here

pr9335-2.C:4:3: error: incomplete type ‘Factorial<4294967251u>’ used in nested
name specifier

So I can ignore this testcase and take the ones from PR23510 and PR43113.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9335

Reply via email to