From: Kai Tietz Date: Wed, 9 Apr 2008 09:47:22 +0000 (+0000) Subject: fp-int-convert.h: Use TImode type for x86_64-pc-mingw target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5be9e6c9241b3d5473c211069b2ff8f16378e5d;p=gcc.git fp-int-convert.h: Use TImode type for x86_64-pc-mingw target. 2008-04-09 Kai Tietz * gcc.dg/torture/fp-int-convert.h: Use TImode type for x86_64-pc-mingw target. * gcc.dg/titype-1.c: Likewise. From-SVN: r134135 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 008bc865401..41ad6d375fd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-04-09 Kai Tietz + + * gcc.dg/torture/fp-int-convert.h: Use TImode type for + x86_64-pc-mingw target. + * gcc.dg/titype-1.c: Likewise. + 2008-04-09 Richard Sandiford * lib/target-supports.exp (check_effective_target_vxworks_kernel): diff --git a/gcc/testsuite/gcc.dg/titype-1.c b/gcc/testsuite/gcc.dg/titype-1.c index 1d0c570dafa..31c01a681a3 100644 --- a/gcc/testsuite/gcc.dg/titype-1.c +++ b/gcc/testsuite/gcc.dg/titype-1.c @@ -1,7 +1,7 @@ /* { dg-do run } */ /* Not all platforms support TImode integers. */ -#if defined(__LP64__) && !defined(__hppa__) +#if (defined(__LP64__) && !defined(__hppa__)) || defined(_WIN64) typedef int TItype __attribute__ ((mode (TI))); #else typedef long TItype; diff --git a/gcc/testsuite/gcc.dg/torture/fp-int-convert.h b/gcc/testsuite/gcc.dg/torture/fp-int-convert.h index c4cb5fbb2d3..8c1968e9be2 100644 --- a/gcc/testsuite/gcc.dg/torture/fp-int-convert.h +++ b/gcc/testsuite/gcc.dg/torture/fp-int-convert.h @@ -7,7 +7,7 @@ extern void exit (int); /* Not all platforms support TImode integers; logic as in gcc.dg/titype-1.c. */ -#if defined(__LP64__) && !defined(__hppa__) +#if (defined(__LP64__) && !defined(__hppa__)) || defined(_WIN64) typedef int TItype __attribute__ ((mode (TI))); typedef unsigned int UTItype __attribute__ ((mode (TI))); #else