]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/123175 - Use int32_t instead of int in vec-type construction.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 19 Jan 2026 17:33:30 +0000 (18:33 +0100)
committerGeorg-Johann Lay <avr@gjlay.de>
Mon, 19 Jan 2026 17:33:30 +0000 (18:33 +0100)
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.

gcc/testsuite/gcc.dg/torture/pr123175-1.c
gcc/testsuite/gcc.dg/torture/pr123175-2.c

index eea341ee2cbef896062069e9cc46f40eabcc0e0f..5561e96ffccb40138da1ab046422f96f3040d251 100644 (file)
@@ -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;
index 32431bee914d45ee732f859e34274f386602da8e..e2137797f17b986e33f5596348431c182def45df 100644 (file)
@@ -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;