https://bugs.llvm.org/show_bug.cgi?id=35475

Richard Smith <richard-l...@metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-l...@metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #2 from Richard Smith <richard-l...@metafoo.co.uk> ---
Testcase has undefined behavior on line 58:

                n = -n;

n here is INT_MIN (== LONG_MIN); negating it results in UB.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to