http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639
Summary: [4.6 Regression] Missing optimization Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: d.g.gorbac...@gmail.com Host: i686-pc-linux-gnu Target: i686-pc-linux-gnu Build: i686-pc-linux-gnu Created attachment 22507 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22507 testcase gcc -O2 pr46639.c /tmp/ccJzJXqb.o: In function `bar.part.0': pr46639.c:(.text+0x30): undefined reference to `link_error'