http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45959
Summary: [4.6 Regression] ICE: tree code 'template_type_parm' is not supported in gimple streams with -flto/-fwhopr Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Created attachment 22011 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22011 testcase Compiler output: $ gcc -flto testcase.C testcase.C:106:1: internal compiler error: tree code 'template_type_parm' is not supported in gimple streams Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r165241 - crash r165220 - crash r165152 - OK