Mercurial > hg > CbC > CbC_gcc
diff gcc/testsuite/gcc.dg/pr60087.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line diff
--- a/gcc/testsuite/gcc.dg/pr60087.c Thu Oct 25 07:37:49 2018 +0900 +++ b/gcc/testsuite/gcc.dg/pr60087.c Thu Feb 13 11:34:05 2020 +0900 @@ -7,8 +7,8 @@ { const unsigned char uc = 0; _Bool b; - b = 0 != ~uc; /* { dg-warning "9:promoted ~unsigned is always non-zero" } */ - b = 2 != ~uc; /* { dg-warning "9:comparison of promoted ~unsigned with constant" } */ - b = uc == ~uc; /* { dg-warning "10:comparison of promoted ~unsigned with unsigned" } */ + b = 0 != ~uc; /* { dg-warning "9:promoted bitwise complement of an unsigned value is always nonzero" } */ + b = 2 != ~uc; /* { dg-warning "9:comparison of promoted bitwise complement of an unsigned value with constant" } */ + b = uc == ~uc; /* { dg-warning "10:comparison of promoted bitwise complement of an unsigned value with unsigned" } */ b = i == ui; /* { dg-warning "9:comparison of integer expressions of different signedness" } */ }