[Bug c++/56302] New: [4.8 Regression] sys/sdt.h asms stopped working at -O0
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 13 09:10:00 GMT 2013
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: jakub@gcc.gnu.org
ReportedBy: jakub@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.
More information about the Gcc-bugs
mailing list