[llvm-bugs] [Bug 20172] wrong code by LTO at -O1 (only) on x86_64-linux-gnu

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 21 08:47:56 PDT 2017


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

Davide Italiano <davide at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED
                 CC|                            |davide at freebsd.org

--- Comment #1 from Davide Italiano <davide at freebsd.org> ---
This was probably fixed a while ago.

[davide at localhost bin]$ ./clang wrong.c -flto -fuse-ld=lld -O1 -o wrong &&
./wrong
0
[davide at localhost bin]$ ./clang wrong.c -flto -fuse-ld=lld -O2 -o wrong &&
./wrong
0
[davide at localhost bin]$ ./clang wrong.c -flto -fuse-ld=lld -O3 -o wrong &&
./wrong
0
[davide at localhost bin]$ ./clang wrong.c -flto -fuse-ld=lld -O0 -o wrong &&
./wrong
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/20170421/c7acf879/attachment.html>


More information about the llvm-bugs mailing list