aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2009-11-28 08:10:30 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2009-11-28 09:10:30 +0100
commitdcbb9446758564589c2b6a48807dfea477011ade (patch)
tree856a0bded72d02fbfc22dc7529a054b7a6110895
parent51b60ac8d2ffa5fd273a7211499107b54d577606 (diff)
downloadgcc-dcbb9446758564589c2b6a48807dfea477011ade.zip
gcc-dcbb9446758564589c2b6a48807dfea477011ade.tar.gz
gcc-dcbb9446758564589c2b6a48807dfea477011ade.tar.bz2
20081210-1_0.c (uintptr_t): Use for w64 target type 'unsigned long long'.
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'. From-SVN: r154719
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/lto/20081210-1_0.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e938d3c..16f2741 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.dg/lto/20081210-1_0.c b/gcc/testsuite/gcc.dg/lto/20081210-1_0.c
index 5cf020e..34e0ec400 100644
--- a/gcc/testsuite/gcc.dg/lto/20081210-1_0.c
+++ b/gcc/testsuite/gcc.dg/lto/20081210-1_0.c
@@ -1,5 +1,7 @@
-#if defined(_LP64) || defined(_WIN64)
+#if defined(_LP64)
typedef unsigned long int uintptr_t;
+#elif defined (_WIN64)
+typedef unsigned long long int uintptr_t;
#else
typedef unsigned int uintptr_t;
#endif