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 <[email protected]>
---
 gcc/testsuite/gcc.target/aarch64/pr123748.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/aarch64/pr123748.c 
b/gcc/testsuite/gcc.target/aarch64/pr123748.c
index 8ba290cf12d..702bad1b227 100644
--- a/gcc/testsuite/gcc.target/aarch64/pr123748.c
+++ b/gcc/testsuite/gcc.target/aarch64/pr123748.c
@@ -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];
-- 
2.34.1

Reply via email to