[gcc r16-6902] testsuite/123175 - Use int32_t instead of int in vec-type construction.
Georg-Johann Lay
gjl@gcc.gnu.org
Mon Jan 19 17:36:13 GMT 2026
https://gcc.gnu.org/g:1c06e68228226a723e97687be62f06e373b40b3a
commit r16-6902-g1c06e68228226a723e97687be62f06e373b40b3a
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Mon Jan 19 18:33:30 2026 +0100
testsuite/123175 - Use int32_t instead of int in vec-type construction.
gcc/testsuite/
PR testsuite/123175
* gcc.dg/torture/pr123175-1.c: Use int32_t instead of int in
vec-type construction.
* gcc.dg/torture/pr123175-2.c: Same.
Diff:
---
gcc/testsuite/gcc.dg/torture/pr123175-1.c | 4 ++--
gcc/testsuite/gcc.dg/torture/pr123175-2.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/torture/pr123175-1.c b/gcc/testsuite/gcc.dg/torture/pr123175-1.c
index eea341ee2cbe..5561e96ffccb 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 32431bee914d..e2137797f17b 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;
More information about the Gcc-cvs
mailing list