From c58823a0b03bacf3a2cd659a634d35041db4aa72 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 1 Oct 2016 01:43:49 +0200 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/c-c++-common/Wbool-operation-1.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 01a1852..d19b03f 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 bb72784..552b044 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.*" } */ -- 2.7.4