OSDN Git Service

2009-11-28 Kai Tietz <kai.tietz@onevision.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Nov 2009 08:10:30 +0000 (08:10 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Nov 2009 08:10:30 +0000 (08:10 +0000)
        * gcc.dg/lto/20081210-1_0.c (uintptr_t): Use for
        w64 target type 'unsigned long long'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154719 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/20081210-1_0.c

index e938d3c..16f2741 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-28  Kai Tietz  <kai.tietz@onevision.com>
+
+       * gcc.dg/lto/20081210-1_0.c (uintptr_t): Use for
+       w64 target type 'unsigned long long'.
+
 2009-11-27  Martin Jambor  <mjambor@suse.cz>
 
        PR middle-end/42006
 2009-11-27  Martin Jambor  <mjambor@suse.cz>
 
        PR middle-end/42006
index 5cf020e..34e0ec4 100644 (file)
@@ -1,5 +1,7 @@
-#if defined(_LP64) || defined(_WIN64)
+#if defined(_LP64)
 typedef unsigned long int uintptr_t;
 typedef unsigned long int uintptr_t;
+#elif defined (_WIN64)
+typedef unsigned long long int uintptr_t;
 #else
 typedef unsigned int uintptr_t;
 #endif
 #else
 typedef unsigned int uintptr_t;
 #endif