Hi, the attached patch add the -Wno-implicit-function-declaration option to the S/390 specific testcases which require it.
Bye, -Andreas- 2015-02-19 Andreas Krebbel <andreas.kreb...@de.ibm.com> * gcc.target/s390/20090223-1.c: Add -Wno-implicit-function-declaration option. * gcc.target/s390/pr42224.c: Likewise. * gcc.target/s390/pr55718.c: Likewise. diff --git a/gcc/testsuite/gcc.target/s390/20090223-1.c b/gcc/testsuite/gcc.target/s390/20090223-1.c index 1bf0f2f..18355f9 100644 --- a/gcc/testsuite/gcc.target/s390/20090223-1.c +++ b/gcc/testsuite/gcc.target/s390/20090223-1.c @@ -3,7 +3,7 @@ register asm ("0"). */ /* { dg-do run } */ -/* { dg-options "-O2 -Wno-attributes" } */ +/* { dg-options "-O2 -Wno-attributes -Wno-implicit-function-declaration" } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.target/s390/pr42224.c b/gcc/testsuite/gcc.target/s390/pr42224.c index c1ccf28..67146d2 100644 --- a/gcc/testsuite/gcc.target/s390/pr42224.c +++ b/gcc/testsuite/gcc.target/s390/pr42224.c @@ -1,6 +1,5 @@ - /* { dg-do compile } */ -/* { dg-options "-O0" } */ +/* { dg-options "-O0 -Wno-implicit-function-declaration" } */ typedef char* __char_ptr32 __attribute__ (( mode (SI) )); typedef __char_ptr32 *__char_ptr_char_ptr32 __attribute__ ((mode (SI))); diff --git a/gcc/testsuite/gcc.target/s390/pr55718.c b/gcc/testsuite/gcc.target/s390/pr55718.c index a82d435..14787a5 100644 --- a/gcc/testsuite/gcc.target/s390/pr55718.c +++ b/gcc/testsuite/gcc.target/s390/pr55718.c @@ -1,7 +1,7 @@ /* PR target/55717 */ /* { dg-do compile } */ -/* { dg-options "-O2 -march=z10 -fPIC" } */ +/* { dg-options "-O2 -march=z10 -fPIC -Wno-implicit-function-declaration" } */ extern char temp[]; short ansi_value[256];