http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56302
Bug #: 56302 Summary: [4.8 Regression] sys/sdt.h asms stopped working at -O0 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: ja...@gcc.gnu.org ReportedBy: ja...@gcc.gnu.org void foo (const int x) { __asm__ __volatile__ ("" : : "n" (-1 * (int) sizeof (&x))); } compiled just fine even at -O0 in 4.7, but starting with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192141 is no longer accepted at -O0.