[llvm-bugs] [Bug 33063] -O2 code miscompilation starting in clang 3.9 (still in 4.0.1rc1)

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 19 14:09:48 PDT 2017


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

Dimitry Andric <dimitry at andric.com> changed:

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

--- Comment #11 from Dimitry Andric <dimitry at andric.com> ---
As far as I know, no compiler warns about this, but I think it is also pretty
hard to do so in a sane way, without getting false positives.  Possibly this
could have been detected with address sanitizer, or valgrind?

-- 
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/20170519/d64f979c/attachment.html>


More information about the llvm-bugs mailing list