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: unassignedb...@nondot.org
          Reporter: babo...@gmail.com
                CC: guy.bl...@intel.com, llvm-bugs@lists.llvm.org,
                    vsevolod.livins...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to