http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55639
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-12-10 13:40:18 UTC --- The issue is the 'template' keyword in: SomeClass<number>::template Fun<E, 0> without it, the code is accepted (ICC also accepts it). I'm pretty sure this is a Dup of another issue we already have in Bugzilla.