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
This commit is contained in:
Jakub Jelinek 2016-10-01 01:43:49 +02:00 committed by Jakub Jelinek
parent e3228a5038
commit c58823a0b0
2 changed files with 9 additions and 1 deletions

View 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

View 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.*" } */