http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55232
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-11-07 14:08:42 UTC --- 4.7.3 gives: t.cc: In instantiation of 'void X<T>::push_back(typename T::value_type ...) [with T = {vector}; typename T::value_type = <type error>]': t.cc:17:20: required from here t.cc:9:10: warning: unused parameter 'vals#0' [-Wunused-parameter]