[llvm-bugs] [Bug 27960] New: No warning on shifted boolean expression
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue May 31 18:02:24 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27960
Bug ID: 27960
Summary: No warning on shifted boolean expression
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: Matthew.Arsenault at amd.com
CC: hfinkel at anl.gov, llvm-bugs at lists.llvm.org
Classification: Unclassified
Code such as this produces no warning
void bar(int x)
{
if ((x == 0) >> 3)
{
}
}
Discovered from problem fixed in r271356
--
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/20160601/e69e4f32/attachment.html>
More information about the llvm-bugs
mailing list