[llvm-bugs] [Bug 45191] clang generates incorrect X86-64 code optimization for integer assignment-comparison
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Mar 13 02:06:43 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45191
Roman Lebedev <lebedev.ri at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lebedev.ri at gmail.com
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #3 from Roman Lebedev <lebedev.ri at gmail.com> ---
https://godbolt.org/z/-jXo5M
example.cpp:14:25: runtime error: signed integer overflow: 2147483647 + 16
cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior example.cpp:14:25 in
example.cpp:12:27: runtime error: signed integer overflow: -2147483633 -
2147483647 cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior example.cpp:12:27 in
.m = 16
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200313/451c19e1/attachment-0001.html>
More information about the llvm-bugs
mailing list