http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51724
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |error-recovery, | |ice-on-invalid-code Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.7.0 Known to fail| |4.6.2 --- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-02 11:23:25 UTC --- Confirmed, the branch ICEs like t.C: In member function ‘void solver<T, Plugin>::foo(solver<T, Plugin>::type) [with T = int, Plugin = plugin<>, solver<T, Plugin>::type = int]’: t.C:39:32: instantiated from here t.C:33:3: error: no matching function for call to ‘plugin<>::foo(solver<int, plugin<> >&, solver<int, plugin<> >::type&)’ t.C:33:3: note: candidates are: in dependent_type_p, at cp/pt.c:18102 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Fixed on trunk.