aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/uninit-C.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/uninit-C.c')
-rw-r--r--gcc/testsuite/gcc.dg/uninit-C.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/uninit-C.c b/gcc/testsuite/gcc.dg/uninit-C.c
index c81ada4abfc..ddef41cbf79 100644
--- a/gcc/testsuite/gcc.dg/uninit-C.c
+++ b/gcc/testsuite/gcc.dg/uninit-C.c
@@ -2,7 +2,13 @@
/* { dg-do compile } */
/* { dg-options "-O -Wuninitialized" } */
+/* Not all platforms support TImode integers. */
+#if defined(__LP64__) || defined(__sparc__)
typedef int TItype __attribute__ ((mode (TI)));
+#else
+typedef long TItype;
+#endif
+
TItype
__subvdi3 (TItype a, TItype b)