[llvm-bugs] [Bug 45631] clang produces wrong code with -O1 to -Os
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Apr 21 08:39:00 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45631
Roman Lebedev <lebedev.ri at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lebedev.ri at gmail.com
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Roman Lebedev <lebedev.ri at gmail.com> ---
https://godbolt.org/z/JyVFcW
example.c:6:27: runtime error: shift exponent 94 is too large for 32-bit type
'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior example.c:6:27 in
--
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/20200421/2ac8d59d/attachment.html>
More information about the llvm-bugs
mailing list