http://llvm.org/bugs/show_bug.cgi?id=9506
PaX Team <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from PaX Team <[email protected]> 2011-03-22 06:05:53 CDT --- (In reply to comment #1) > The asm has "+a" (which is a read/modify/write of eax) and "a" (which is a > read > of eax. This should be rejected by the frontend in an ideal world. yes, i agree, it works with gcc only because with optimization enabled (as is the case with linux) it deduces that the two inputs are the same (consistent). now with that said, i'm afraid in the not so ideal world this construct may occur every now and then ('it works with gcc') so maybe some simple cases like this could still be special cased in clang? -- 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
