http://llvm.org/bugs/show_bug.cgi?id=16744
Eli Friedman <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Eli Friedman <[email protected]> --- clang is behaving correctly here. Assuming no undefined behavior, pxMutex->uxRecursiveCallCount must point at the same object before and after the decrement, so it can't be null. Therefore, xQueueGenericSend can never be called. If you want clang to not optimize this sort of construct, you can pass -fwrapv. -- 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
