http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52399
Bug #: 52399 Summary: With `-flto', `-Wno-clobbered' does not suppress the "might be clobbered" warning Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: d.g.gorbac...@gmail.com Created attachment 26761 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26761 Invalid code $ gcc -flto -O -Wall -Wno-clobbered pr52399.c In file included from pr52399.c:3:0, from :6: pr52399.c: In function 'main': pr52399.c:8:7: warning: variable 'i' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]