]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: testsuite: Update pr123748.c to use "long long" instead of "long"
authorPengxuan Zheng <pengxuan.zheng@oss.qualcomm.com>
Tue, 19 May 2026 20:35:51 +0000 (13:35 -0700)
committerPengxuan Zheng <pengxuan.zheng@oss.qualcomm.com>
Tue, 19 May 2026 20:46:28 +0000 (13:46 -0700)
Andrea pointed out that "long" is 32bits on mingw and the test case should use
"long long" instead.

Committed as obvious after testing.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/pr123748.c: Use "long long" instead of "long".

Signed-off-by: Pengxuan Zheng <pengxuan.zheng@oss.qualcomm.com>
gcc/testsuite/gcc.target/aarch64/pr123748.c

index 8ba290cf12d171db92a3e6df136c448fbeb13731..702bad1b22745ad67adaa848f1069b4599e2a62a 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-options "-Ofast" } */
 
 void
-f (float *__restrict f, long *__restrict l)
+f (float *__restrict f, long long *__restrict l)
 {
   for (int i = 0; i < 128; i++)
     f[i] = l[i];