OSDN Git Service

* gcc.dg/uninit-C.c: Only test TImode on 64-bit platforms.
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Jun 2003 12:29:13 +0000 (12:29 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Jun 2003 12:29:13 +0000 (12:29 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67540 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/uninit-C.c

index 4832f73..0adc2da 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-06  Roger Sayle  <roger@eyesopen.com>
+           Jim Wilson  <wilson@tuliptree.org>
+
+       * gcc.dg/uninit-C.c: Only test TImode on 64-bit platforms.
+
 2003-06-06  Jakub Jelinek  <jakub@redhat.com>
 
        * gcc.c-torture/execute/builtins/string-4.c (main_test): Allow some
index c81ada4..ddef41c 100644 (file)
@@ -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)