http://llvm.org/bugs/show_bug.cgi?id=19757
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Richard Smith <[email protected]> --- (In reply to comment #0) > signed int final = -(signed int) n; This negation has a signed integer overflow when '(signed int) n' is INT_MIN (as it is in your case); your code has undefined behavior. -- 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
