From: Jakub Jelinek Date: Fri, 30 Sep 2016 23:43:49 +0000 (+0200) Subject: re PR c/77490 (bit-not (~) on boolean should be warned about) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c58823a0b03bacf3a2cd659a634d35041db4aa72;p=gcc.git re PR c/77490 (bit-not (~) on boolean should be warned about) PR c/77490 * c-c++-common/Wbool-operation-1.c: Add -Wno-psabi to dg-options. Add dg-prune-output directive. From-SVN: r240688 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 01a18526be3..d19b03fee63 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-10-01 Jakub Jelinek + + PR c/77490 + * c-c++-common/Wbool-operation-1.c: Add -Wno-psabi to dg-options. + Add dg-prune-output directive. + 2016-09-30 Jerry DeLisle PR fortran/66643 diff --git a/gcc/testsuite/c-c++-common/Wbool-operation-1.c b/gcc/testsuite/c-c++-common/Wbool-operation-1.c index bb72784a16c..552b044c7bb 100644 --- a/gcc/testsuite/c-c++-common/Wbool-operation-1.c +++ b/gcc/testsuite/c-c++-common/Wbool-operation-1.c @@ -1,6 +1,6 @@ /* PR c/77490 */ /* { dg-do compile } */ -/* { dg-options "-Wall" } */ +/* { dg-options "-Wall -Wno-psabi" } */ #ifndef __cplusplus # define bool _Bool @@ -34,3 +34,5 @@ fn (bool b, bool b2, T b3, int n, v4si v) return r; } + +/* { dg-prune-output ".*GCC vector passed by reference.*" } */