http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53884
Bug #: 53884 Summary: [4.7/4.8 Regression] ICE: in function_and_variable_visibility, at ipa.c:818 with -flto -fno-weak Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Created attachment 27757 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27757 reduced testcase Compiler output: $ gcc -flto -fno-weak testcase.C testcase.C:9:12: internal compiler error: in function_and_variable_visibility, at ipa.c:818 S < foo > s; ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r189247 - crash 4.7 r188682 - crash 4.6 r188682 - OK 4.5 r188682 - OK