+2002-04-26 Richard Henderson <rth@redhat.com>
+
+ * gcc.dg/c99-bool-1.c: Expect always true warning.
+
2002-04-25 Roger Sayle <roger@eyesopen.com>
* gcc.dg/i386-memset-1.c: New test case for PR target/6456.
abort ();
if ((u |= 2) != 1)
abort ();
- if ((u ^= 3) != 1)
+ /* ??? A bit queer, since this gets optimized to ((u = (u != 3)) != 1)
+ early in semantic analysis, which then yields the warning below. */
+ if ((u ^= 3) != 1) /* { dg-warning "always true due to limited range" } */
abort ();
/* Test comma expressions. */
u = 1;