diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-bool-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/c99-bool-1.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-bool-1.c b/gcc/testsuite/gcc.dg/c99-bool-1.c index 1037eb55173..710219620b7 100644 --- a/gcc/testsuite/gcc.dg/c99-bool-1.c +++ b/gcc/testsuite/gcc.dg/c99-bool-1.c @@ -228,9 +228,7 @@ main (void) abort (); if ((u |= 2) != 1) abort (); - /* ??? 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" } */ + if ((u ^= 3) != 1) abort (); /* Test comma expressions. */ u = 1; |