http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52035
Bug #: 52035 Summary: internal compiler error: tree code ‘template_type_parm’ is not supported in LTO streams Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: marb...@gmail.com Using GCC from svn (183666) I get an ICE while compiling QtCore with -flto: ~ # g++ -flto bug.ii bug.ii:44:1: internal compiler error: tree code ‘template_type_parm’ is not supported in LTO streams Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. ~ # g++ --version g++ (svn 183666-20120128) 4.7.0 20120128 (experimental)