diff mbox

gnu11 fallout: ia64

Message ID mvm8ukgz6a7.fsf@hawking.suse.de
State New
Headers show

Commit Message

Andreas Schwab Oct. 16, 2014, 9:57 a.m. UTC
Tested on ia64-suse-linux, installed as obvious.

Andreas.

	* 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.
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.target/ia64/20090324-1.c b/gcc/testsuite/gcc.target/ia64/20090324-1.c
index d9aff6a..c44e809 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 e166e85..5bf6976 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 fd80d06..10b047b 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 ecca323..5ffc789 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 ad3a5b1..92fc2c6 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 6e60433..2548b0a 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;