[llvm-bugs] [Bug 34377] New: Clang produces incorrect code with -O1 and higher
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 30 05:15:39 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34377
Bug ID: 34377
Summary: Clang produces incorrect code with -O1 and higher
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: Vsevolod.Livinskij at frtk.ru
CC: llvm-bugs at lists.llvm.org
Created attachment 19059
--> https://bugs.llvm.org/attachment.cgi?id=19059&action=edit
Reproducer.
Clang produces incorrect code with -O1 and higher. -mllvm -opt-bisect-limit
blames "X86 cmov Conversion on function"
>$ clang++ -O1 func.cpp driver.cpp ; ./a.out
1502785800
>$ clang++ -O0 func.cpp driver.cpp ; ./a.out
5
clang version 6.0.0 (trunk 311997)
--
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/20170830/77b4f395/attachment.html>
More information about the llvm-bugs
mailing list