This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52035] internal compiler error: tree code âtemplate_type_parmâ is not supported in LTO streams
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 29 Jan 2012 04:51:02 +0000
- Subject: [Bug c++/52035] internal compiler error: tree code âtemplate_type_parmâ is not supported in LTO streams
- Auto-submitted: auto-generated
- References: <bug-52035-4@http.gcc.gnu.org/bugzilla/>
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);
}