PR tree-optimization/86401
[official-gcc.git] / gcc / testsuite / c-c++-common / Wtautological-compare-6.c
blobfcdca72e3f34a585fada8a3de230b9d5f86c0a09
1 /* PR c/82437 */
2 /* { dg-do compile { target int32plus } } */
3 /* { dg-options "-Wtautological-compare" } */
5 int
6 foo (unsigned int x)
8 if ((x & -1879048192) != -1879048192) /* { dg-bogus "bitwise comparison always evaluates to" } */
9 return 0;
10 return 1;