From: Roger Sayle Date: Fri, 6 Jun 2003 12:29:13 +0000 (+0000) Subject: uninit-C.c: Only test TImode on 64-bit platforms. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84cd52a9a95c0737455364222901afb418f7c345;p=gcc.git uninit-C.c: Only test TImode on 64-bit platforms. * gcc.dg/uninit-C.c: Only test TImode on 64-bit platforms. Co-Authored-By: James E Wilson From-SVN: r67540 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4832f7312dc..0adc2da05f5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-06-06 Roger Sayle + Jim Wilson + + * gcc.dg/uninit-C.c: Only test TImode on 64-bit platforms. + 2003-06-06 Jakub Jelinek * gcc.c-torture/execute/builtins/string-4.c (main_test): Allow some 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)