[llvm-bugs] [Bug 30286] New: [AVX-512] KNL bug at -O0
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 5 14:00:55 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30286
Bug ID: 30286
Summary: [AVX-512] KNL bug at -O0
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: babokin at gmail.com
CC: guy.blank at intel.com, llvm-bugs at lists.llvm.org,
Vsevolod.Livinskij at frtk.ru
Classification: Unclassified
> cat pr.cpp
#include <iostream>
struct S {
unsigned long ul : 25 ;
} s;
int main () {
s.ul = 27833667UL;
bool b = ((bool) !(((bool) s.ul ) && true)) && true;
std::cout << (b ? "FAIL":"PASS") << "\n";
return 0;
}
> clang++ -O0 -o no_opt pr.cpp
> ./no_opt
PASS
> clang++ -O0 -march=knl -o knl_no_opt pr.cpp
>sde -knl -- ./knl_no_opt
FAIL
--
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/20160905/979f3f3a/attachment.html>
More information about the llvm-bugs
mailing list