PR123175 has test cases with

typedef int v4si __attribute__((vector_size(16)));
typedef int v2si __attribute__((vector_size(8)));
typedef char v4qi __attribute__((vector_size(4)));

which obviously assert that int = 32 bits wide.
Applied the patch below as obvious.

Johann

--

diff --git a/gcc/testsuite/gcc.dg/torture/pr123175-1.c 
b/gcc/testsuite/gcc.dg/torture/pr123175-1.c
index eea341ee2cb..5561e96ffcc 100644
--- a/gcc/testsuite/gcc.dg/torture/pr123175-1.c
+++ b/gcc/testsuite/gcc.dg/torture/pr123175-1.c
@@ -1,8 +1,8 @@
 /* { dg-do run } */
 /* { dg-additional-options "-fgimple" } */
-typedef int v4si __attribute__((vector_size(16)));
-typedef int v2si __attribute__((vector_size(8)));
+typedef __INT32_TYPE__ v4si __attribute__((vector_size(16)));
+typedef __INT32_TYPE__ v2si __attribute__((vector_size(8)));
 typedef char v4qi __attribute__((vector_size(4)));
v4si res;
diff --git a/gcc/testsuite/gcc.dg/torture/pr123175-2.c 
b/gcc/testsuite/gcc.dg/torture/pr123175-2.c
index 32431bee914..e2137797f17 100644
--- a/gcc/testsuite/gcc.dg/torture/pr123175-2.c
+++ b/gcc/testsuite/gcc.dg/torture/pr123175-2.c
@@ -1,8 +1,8 @@
 /* { dg-do run } */
 /* { dg-additional-options "-fgimple" } */
-typedef int v4si __attribute__((vector_size(16)));
-typedef int v2si __attribute__((vector_size(8)));
+typedef __INT32_TYPE__ v4si __attribute__((vector_size(16)));
+typedef __INT32_TYPE__ v2si __attribute__((vector_size(8)));
 typedef char v4qi __attribute__((vector_size(4)));
v4si res;

Reply via email to