http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45947
Summary: ICE: tree code 'template_decl' is not supported in
gimple streams with -flto/-fwhopr
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 22002
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22002
reduced testcase
Compiler output:
$ gcc -flto -c pr45947.C
pr45947.C:7:26: internal compiler error: tree code 'template_decl' 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:
r165152 - crash