re PR c/77490 (bit-not (~) on boolean should be warned about)
authorJakub Jelinek <jakub@redhat.com>
Fri, 30 Sep 2016 23:43:49 +0000 (01:43 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 30 Sep 2016 23:43:49 +0000 (01:43 +0200)
PR c/77490
* c-c++-common/Wbool-operation-1.c: Add -Wno-psabi to dg-options.
Add dg-prune-output directive.

From-SVN: r240688

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wbool-operation-1.c

index 01a1852..d19b03f 100644 (file)
@@ -1,3 +1,9 @@
+2016-10-01  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <jvdelisle@gcc.gnu.org>
 
        PR fortran/66643
index bb72784..552b044 100644 (file)
@@ -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.*" } */