From: Andreas Schwab Date: Thu, 16 Oct 2014 09:57:00 +0000 (+0000) Subject: 20090324-1.c: Fix implicit declarations and implicit int. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6a7f986ccf70f8a571e7c8f751ed1c830b708f9;p=gcc.git 20090324-1.c: Fix implicit declarations and implicit int. * gcc.target/ia64/20090324-1.c: Fix implicit declarations and implicit int. * gcc.target/ia64/mfused-madd-vect.c: Likewise. * gcc.target/ia64/mno-fused-madd-vect.c: Likewise. * gcc.target/ia64/pr29682.c: Likewise. * gcc.target/ia64/pr43603.c: Likewise. * gcc.target/ia64/pr48496.c: Likewise. From-SVN: r216302 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 480ee6f33c7..04a6e07267b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2014-10-16 Andreas Schwab + + * gcc.target/ia64/20090324-1.c: Fix implicit declarations and + implicit int. + * gcc.target/ia64/mfused-madd-vect.c: Likewise. + * gcc.target/ia64/mno-fused-madd-vect.c: Likewise. + * gcc.target/ia64/pr29682.c: Likewise. + * gcc.target/ia64/pr43603.c: Likewise. + * gcc.target/ia64/pr48496.c: Likewise. + 2014-10-16 Marek Polacek * ada/acats/tests/cd/cd300051.c: Fix defaulting to int. diff --git a/gcc/testsuite/gcc.target/ia64/20090324-1.c b/gcc/testsuite/gcc.target/ia64/20090324-1.c index d9aff6a18b4..c44e8099267 100644 --- a/gcc/testsuite/gcc.target/ia64/20090324-1.c +++ b/gcc/testsuite/gcc.target/ia64/20090324-1.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O3 -fmodulo-sched" } */ +void update_screen (char *); static char *place_region_bounds_x, *place_region_bounds_y; static void read_place () { char msg[300]; diff --git a/gcc/testsuite/gcc.target/ia64/mfused-madd-vect.c b/gcc/testsuite/gcc.target/ia64/mfused-madd-vect.c index e166e85daed..5bf6976caa0 100644 --- a/gcc/testsuite/gcc.target/ia64/mfused-madd-vect.c +++ b/gcc/testsuite/gcc.target/ia64/mfused-madd-vect.c @@ -6,7 +6,7 @@ specific vector add/sub instructions. So we just check for fpmpy. */ #define N 16 -extern bar(float *, float *, float *, float *); +extern void bar(float *, float *, float *, float *); void foo() { int i; diff --git a/gcc/testsuite/gcc.target/ia64/mno-fused-madd-vect.c b/gcc/testsuite/gcc.target/ia64/mno-fused-madd-vect.c index fd80d061ad5..10b047bd9b5 100644 --- a/gcc/testsuite/gcc.target/ia64/mno-fused-madd-vect.c +++ b/gcc/testsuite/gcc.target/ia64/mno-fused-madd-vect.c @@ -6,7 +6,7 @@ specific vector add/sub instructions. So we just check for fpmpy. */ #define N 16 -extern bar(float *, float *, float *, float *); +extern void bar(float *, float *, float *, float *); void foo() { int i; diff --git a/gcc/testsuite/gcc.target/ia64/pr29682.c b/gcc/testsuite/gcc.target/ia64/pr29682.c index ecca32392d0..5ffc7890aaa 100644 --- a/gcc/testsuite/gcc.target/ia64/pr29682.c +++ b/gcc/testsuite/gcc.target/ia64/pr29682.c @@ -12,7 +12,8 @@ typedef enum pgpArmor_e 5, PGPARMOR_PRIVKEY = 6, PGPARMOR_SECKEY = 7 } pgpArmor; -pgpCRC (const byte * octets, size_t len) +int b64decode (const char *, void **, size_t *); +unsigned int pgpCRC (const byte * octets, size_t len) { unsigned int crc = 0xb704ce; int i; @@ -26,7 +27,7 @@ pgpCRC (const byte * octets, size_t len) } } } -pgpReadPkts (const char *fn, const byte ** pkt, size_t * pktlen) +pgpArmor pgpReadPkts (const char *fn, const byte ** pkt, size_t * pktlen) { const byte *b = ((void *) 0); const char *enc = ((void *) 0); diff --git a/gcc/testsuite/gcc.target/ia64/pr43603.c b/gcc/testsuite/gcc.target/ia64/pr43603.c index ad3a5b114bc..92fc2c6981b 100644 --- a/gcc/testsuite/gcc.target/ia64/pr43603.c +++ b/gcc/testsuite/gcc.target/ia64/pr43603.c @@ -1,6 +1,8 @@ /* { dg-do compile } */ /* { dg-options "-O3" } */ +int bar (int); +void car (long *, int *, int); int foo( long * np, int * dp, int qn) { diff --git a/gcc/testsuite/gcc.target/ia64/pr48496.c b/gcc/testsuite/gcc.target/ia64/pr48496.c index 6e604336adb..2548b0a551f 100644 --- a/gcc/testsuite/gcc.target/ia64/pr48496.c +++ b/gcc/testsuite/gcc.target/ia64/pr48496.c @@ -14,6 +14,7 @@ struct ia64_args UINT64 gp_regs[8]; }; +void ffi_call(long i, long gpcount, long fpcount, void **avalue) { struct ia64_args *stack;