http://llvm.org/bugs/show_bug.cgi?id=9252
Jakob Stoklund Olesen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #6 from Jakob Stoklund Olesen <[email protected]> 2011-02-21 12:26:13 CST --- I filed PR9280 to track the bad diagnostics. Closing this bug, the source code is invalid. Instead of asm volatile ("hello" : "+a"(x) : "a"(x)); Simply use: asm volatile ("hello" : "+a"(x)); The "+a"(x) constraint both reads and writes the variable. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
