http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56232
Bug #: 56232 Summary: Missed optimization with LTO Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: d.g.gorbac...@gmail.com Created attachment 29377 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29377 Compile with -flto -O2 /tmp/cce3xw28.ltrans0.ltrans.o:cce3xw28.ltrans0.o:function main: error: undefined reference to 'bar'