From ce49641df218d6470298b4d328be7f22ace89c78 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Tue, 29 Jul 2008 22:32:32 +0000 Subject: [PATCH] * gcc.dg/pr32370.c: Force 64 bits on IA64. From-SVN: r138277 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/pr32370.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5836949f3ee..93b95f105f9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-07-29 Steve Ellcey + + * gcc.dg/pr32370.c: Force 64 bits on IA64. + 2008-07-29 Paul Thomas * gfortran.dg/extends_1.f03: New test. diff --git a/gcc/testsuite/gcc.dg/pr32370.c b/gcc/testsuite/gcc.dg/pr32370.c index 18afde21f0f..80a7c545d47 100644 --- a/gcc/testsuite/gcc.dg/pr32370.c +++ b/gcc/testsuite/gcc.dg/pr32370.c @@ -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" } */ -- 2.30.2