[testsuite] fix gcc.dg/ppc64-abi-2.c

Janis Johnson janis187@us.ibm.com
Thu May 19 23:17:00 GMT 2005


Since 2005-03-08 it's been an error to pass AltiVec vector arguments to
a function that does not have a prototype, which causes this test to
fail.  This patch removes the code that is now in error.  Any objections?

2005-05-19  Janis Johnson  <janis187@us.ibm.com>

	* gcc.dg/ppc64-abi-2.c: Remove code that is now invalid.

Index: gcc/testsuite/gcc.dg/ppc64-abi-2.c
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/gcc.dg/ppc64-abi-2.c,v
retrieving revision 1.3
diff -u -p -r1.3 ppc64-abi-2.c
--- gcc/testsuite/gcc.dg/ppc64-abi-2.c	15 Nov 2004 19:04:45 -0000	1.3
+++ gcc/testsuite/gcc.dg/ppc64-abi-2.c	19 May 2005 20:58:37 -0000
@@ -302,8 +302,6 @@ fcvevv (char *s, vector int x, ...)
     abort();
 }
 
-void fnp_cvvvv();
-
 int __attribute__((no_instrument_function, noinline))
 main1() 
 {   
@@ -313,7 +311,6 @@ main1() 
  
   fcvi (s, v, 2);
   fcvv (s, v, w);
-  fnp_cvvvv (s, v, w, v, w);
   fcivv (s, 1, v, w);
   fcevv (s, v, w);
   fciievv (s, 1, 2, v, w);



More information about the Gcc-patches mailing list