aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2004-04-16 20:59:59 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2004-04-16 20:59:59 +0000
commit6e97f1f9f03d77626a9d45cbcbfb5a36eeeef777 (patch)
treeed8133456704fa2a8610d0389b9536299ff82777 /gcc
parent46fcabbc893d3c18db603436161daf57bde4883b (diff)
downloadgcc-6e97f1f9f03d77626a9d45cbcbfb5a36eeeef777.zip
gcc-6e97f1f9f03d77626a9d45cbcbfb5a36eeeef777.tar.gz
gcc-6e97f1f9f03d77626a9d45cbcbfb5a36eeeef777.tar.bz2
* gcc.dg/funcorder.c: xfail hppa*64*-*-*.
From-SVN: r80769
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/funcorder.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index cf5435b..e3fd06a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,4 +1,6 @@
-2004-04-16 John David Anglin <dava.anglin@nrc-cnrc.gc.ca>
+2004-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * gcc.dg/funcorder.c: xfail hppa*64*-*-*.
* const-elim-1.c: xfail hppa-*-*.
diff --git a/gcc/testsuite/gcc.dg/funcorder.c b/gcc/testsuite/gcc.dg/funcorder.c
index b064d1c..a3edc12 100644
--- a/gcc/testsuite/gcc.dg/funcorder.c
+++ b/gcc/testsuite/gcc.dg/funcorder.c
@@ -1,8 +1,10 @@
/* { dg-do compile } */
/* { dg-options "-O2 -funit-at-a-time" } */
-/* { dg-final { if [ istarget hppa*-*-* ] { scan-assembler-not "link_error,%r" } else { scan-assembler-not "link_error" } } } */
+/* { dg-final { if [ istarget hppa*-*-* ] { scan-assembler-not "link_error,%r" { xfail hppa*64*-*-* } } else { scan-assembler-not "link_error" } } } */
/* In unit-at-time the functions should be assembled in order
- e q t main, so we realize that they are pure. */
+ e q t main, so we realize that they are pure. The test is
+ xfailed on hppa64 because variable r in q is sign extended
+ to 64-bits. As a result, "if (t!=mem)" is not simplified. */
static int mem;
static int e(void) __attribute__ ((noinline));