[LLVMbugs] [Bug 11510] New: [qoi] warn about dead boolean op
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Dec 8 13:56:07 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=11510
Bug #: 11510
Summary: [qoi] warn about dead boolean op
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
It would be nice for us to warn on this:
--
ddunbar at lordcrumb:tmp$ cat t.c
int f0(void);
int f0(void) {
return 1 | 1;
}
ddunbar at lordcrumb:tmp$ clang -Weverything -c t.c
ddunbar at lordcrumb:tmp$
--
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list