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 01a18526be32d2385921e70773d14f8cb313982b..d19b03fee63b11b15e9bba344b4fda0a64de4b2f 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 bb72784a16c4ed7af6fd0e8c9cba5a95408a9f21..552b044c7bbe04d4c0ee8b2f806f81fdbee53aa4 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.*" } */