fp-int-convert.h: Use TImode type for x86_64-pc-mingw target.

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
This commit is contained in:
Kai Tietz 2008-04-09 09:47:22 +00:00 committed by Kai Tietz
parent c6fee2278b
commit f5be9e6c92
3 changed files with 8 additions and 2 deletions

View 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):

View 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;

View 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