http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52813
Bug #: 52813 Summary: %rsp in clobber list is silently ignored Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: inline-asm AssignedTo: unassig...@gcc.gnu.org ReportedBy: jhaber...@gmail.com The following test program crashes even though I correctly listed %rsp as clobbered: -- int main() { asm volatile ("movq $0, %%rsp" : : : "%rsp"); return 0; } -- I would prefer gcc to error out in this case instead of silently ignoring my instruction.