[llvm-bugs] [Bug 42090] Missed -Wsign-compare as compared to GCC9

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 31 03:26:50 PDT 2019


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

Roman Lebedev <lebedev.ri at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #1 from Roman Lebedev <lebedev.ri at gmail.com> ---
Ok, i guess this is gcc false-positive.
clang warns if the signed operand is negative
https://godbolt.org/z/uVDG0Q

-- 
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/20190531/52c8cb54/attachment.html>


More information about the llvm-bugs mailing list