* gcc.dg/pr32370.c: Force 64 bits on IA64.
authorSteve Ellcey <sje@cup.hp.com>
Tue, 29 Jul 2008 22:32:32 +0000 (22:32 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Tue, 29 Jul 2008 22:32:32 +0000 (22:32 +0000)
From-SVN: r138277

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr32370.c

index 5836949f3eece61cb9700718abdef6bb9b53c60b..93b95f105f9d9de3c04ba409c38a5f20e30b9e6a 100644 (file)
@@ -1,3 +1,7 @@
+2008-07-29  Steve Ellcey  <sje@cup.hp.com>
+
+       * gcc.dg/pr32370.c: Force 64 bits on IA64.
+
 2008-07-29  Paul Thomas  <pault@gcc.gnu.org>
 
        * gfortran.dg/extends_1.f03: New test.
index 18afde21f0f335aae199cc81fdf44aaaed4db5eb..80a7c545d47a93ae2c1722710be0dfef04b0cac0 100644 (file)
@@ -5,12 +5,14 @@
 
 #if defined __i386__ || defined __x86_64__
 # define C "=S"
+# define TYPE unsigned long
 #elif defined __ia64__
 # define C "=a"
+# define TYPE unsigned long long
 #endif
 
 unsigned int
-foo (unsigned long port)
+foo (TYPE port)
 {
   unsigned int v;
   __asm__ __volatile__ ("" : C (v) : "Nd" (port));     /* { dg-error "while reloading\|has impossible" } */