diff options
author | Jeff Law <law@redhat.com> | 2019-05-20 12:17:33 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-05-20 12:17:33 -0600 |
commit | 7e85b4dce346b456e5956d9e008136f8fc1ad86b (patch) | |
tree | 4052df193557399d72a96088961ccc2a22bddd40 /gcc | |
parent | c9afb226051b44e05138ccad825099f8259ec3f6 (diff) | |
download | gcc-7e85b4dce346b456e5956d9e008136f8fc1ad86b.zip gcc-7e85b4dce346b456e5956d9e008136f8fc1ad86b.tar.gz gcc-7e85b4dce346b456e5956d9e008136f8fc1ad86b.tar.bz2 |
Wtype-limits-Wextra.c: Adjust expected output after recent diagnostic cleanups.
* gcc.dg/Wtype-limits-Wextra.c: Adjust expected output after
recent diagnostic cleanups.
From-SVN: r271429
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/Wtype-limits-Wextra.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0b3c9be..0643cc3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-05-20 Jeff Law <law@redhat.com> + + * gcc.dg/Wtype-limits-Wextra.c: Adjust expected output after + recent diagnostic cleanups. + 2019-05-20 Christophe Lyon <christophe.lyon@linaro.org> PR tree-optimization/90106 diff --git a/gcc/testsuite/gcc.dg/Wtype-limits-Wextra.c b/gcc/testsuite/gcc.dg/Wtype-limits-Wextra.c index d04ecb7..72a3951 100644 --- a/gcc/testsuite/gcc.dg/Wtype-limits-Wextra.c +++ b/gcc/testsuite/gcc.dg/Wtype-limits-Wextra.c @@ -21,13 +21,13 @@ void a (unsigned char x) } void b (unsigned short x) -{ /* { dg-warning "comparison of unsigned expression '< 0' is always false" "" { target { ! int32plus } } .+1 } */ +{ /* { dg-warning "comparison of unsigned expression in '< 0' is always false" "" { target { ! int32plus } } .+1 } */ if (x < 0) return;/* { dg-warning "comparison is always false due to limited range of data type" "" { target { int32plus } } } */ - /* { dg-warning "comparison of unsigned expression '>= 0' is always true" "" { target { ! int32plus } } .+1 } */ + /* { dg-warning "comparison of unsigned expression in '>= 0' is always true" "" { target { ! int32plus } } .+1 } */ if (x >= 0) return;/* { dg-warning "comparison is always true due to limited range of data type" "" { target { int32plus } } } */ - /* { dg-warning "comparison of unsigned expression '< 0' is always false" "" { target { ! int32plus } } .+1 } */ + /* { dg-warning "comparison of unsigned expression in '< 0' is always false" "" { target { ! int32plus } } .+1 } */ if (0 > x) return;/* { dg-warning "comparison is always false due to limited range of data type" "" { target { int32plus } } } */ - /* { dg-warning "comparison of unsigned expression '>= 0' is always true" "" { target { ! int32plus } } .+1 } */ + /* { dg-warning "comparison of unsigned expression in '>= 0' is always true" "" { target { ! int32plus } } .+1 } */ if (0 <= x) return;/* { dg-warning "comparison is always true due to limited range of data type" "" { target { int32plus } } } */ } |