fp-int-convert.h: Use TImode type for x86_64-pc-mingw target.
authorKai Tietz <kai.tietz@onevision.com>
Wed, 9 Apr 2008 09:47:22 +0000 (09:47 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Wed, 9 Apr 2008 09:47:22 +0000 (11:47 +0200)
2008-04-09  Kai Tietz  <kai.tietz@onevision.com>

* 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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/titype-1.c
gcc/testsuite/gcc.dg/torture/fp-int-convert.h

index 008bc865401ecdd4cdfc390390c5865af211939f..41ad6d375fd82d51d393557c6cbb541e81adb63a 100644 (file)
@@ -1,3 +1,9 @@
+2008-04-09  Kai Tietz  <kai.tietz@onevision.com>
+
+       * 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  <richard@codesourcery.com>
 
        * lib/target-supports.exp (check_effective_target_vxworks_kernel):
index 1d0c570dafa94d6065ee04078a0bc60e883aeee9..31c01a681a3196abc850ed11ac2998b738ac89cf 100644 (file)
@@ -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;
index c4cb5fbb2d35eba85d4359b9c696572a895bbab8..8c1968e9be2b1dcc8a311469b7cd941cd864f933 100644 (file)
@@ -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