This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52035] internal compiler error: tree code âtemplate_type_parmâ is not supported in LTO streams


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);
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]