http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50264
Bug #: 50264 Summary: -Wdisabled-optimizations without -O generates strange errors Classification: Unclassified Product: gcc Version: 4.3.4 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: paulo.ma...@csr.com Try: echo 'char id[] = "x";' > id_test.c Then: $ gcc-4.3.4 -Wdisabled-optimization -c id_test.c cc1: warning: -funit-at-a-time is required for inlining of functions that are only called once That warning looks like a bug to me and Ian.