mirror of git://gcc.gnu.org/git/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
This commit is contained in:
parent
e3228a5038
commit
c58823a0b0
|
|
@ -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>
|
2016-09-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||||
|
|
||||||
PR fortran/66643
|
PR fortran/66643
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* PR c/77490 */
|
/* PR c/77490 */
|
||||||
/* { dg-do compile } */
|
/* { dg-do compile } */
|
||||||
/* { dg-options "-Wall" } */
|
/* { dg-options "-Wall -Wno-psabi" } */
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
# define bool _Bool
|
# define bool _Bool
|
||||||
|
|
@ -34,3 +34,5 @@ fn (bool b, bool b2, T b3, int n, v4si v)
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* { dg-prune-output ".*GCC vector passed by reference.*" } */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue