neon-vld1_dupQ.c: Use types that match function prototypes.
authorJanis Johnson <janisjo@codesourcery.com>
Wed, 16 Jan 2013 18:48:27 +0000 (18:48 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Wed, 16 Jan 2013 18:48:27 +0000 (18:48 +0000)
* gcc.target/arm/neon-vld1_dupQ.c: Use types that match function
prototypes.

From-SVN: r195248

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/neon-vld1_dupQ.c

index fe566ba..2fd7b14 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-16  Janis Johnson  <janisjo@codesourcery.com>
+
+       * gcc.target/arm/neon-vld1_dupQ.c: Use types that match function
+       prototypes.
+
 2013-01-16  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/55964
index b5793bf..cf83966 100644 (file)
@@ -13,9 +13,9 @@ int main (void)
   int64x1_t input[2] = {(int64x1_t)0x0123456776543210LL,
                        (int64x1_t)0x89abcdeffedcba90LL};
   int64x1_t output[2] = {0, 0};
-  int64x2_t var = vld1q_dup_s64(input);
+  int64x2_t var = vld1q_dup_s64((int64_t *)input);
 
-  vst1q_s64(output, var);
+  vst1q_s64((int64_t *)output, var);
   if (output[0] != (int64x1_t)0x0123456776543210LL)
     abort();
   if (output[1] != (int64x1_t)0x0123456776543210LL)