http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52035
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code, lto Status|UNCONFIRMED |NEW Last reconfirmed| |2012-01-29 Ever Confirmed|0 |1 Severity|major |normal --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-29 04:51:02 UTC --- Confirmed, reduced testcase: template <typename T> struct QVector { typedef T* iterator; static void insert(int n); typedef int size_type; }; template <typename T> void QVector<T>::insert(size_type n) {} void error() { int n; QVector<int>::insert(n); }