[llvm-bugs] [Bug 38288] clang miscompiles with "-newgvn" at -O3 in 32-bit mode on valid code

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 16 12:29:46 PDT 2018


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

Qirun Zhang <helloqirun at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from Qirun Zhang <helloqirun at gmail.com> ---
Florian, would you please double check?
It still happens on my linux machine.
I can also confirm it on a mac machine with clang-r339912.



$ clang-trunk -v
clang version 8.0.0 (trunk 339849)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin


$ clang-trunk -mllvm -enable-newgvn -m32 -O3 a.c ; ./a.out
0

-- 
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/20180816/70a72940/attachment.html>


More information about the llvm-bugs mailing list