------- Comment #11 from nathan at gcc dot gnu dot org 2006-01-19 14:43 ------- comment #10 is incorrect. Regardless of the validity/invalidity of the code, the fact that comment#4 shows us producing different code depending on the ordering of the template decls indicates a bug. (I also fail to see the relevancy of DR214, as there are no undeduceable template parameters, nor any reference arguments.)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25855