* gcc.dg/funcorder.c: xfail hppa*64*-*-*.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Fri, 16 Apr 2004 20:59:59 +0000 (20:59 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 16 Apr 2004 20:59:59 +0000 (20:59 +0000)
From-SVN: r80769

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/funcorder.c

index cf5435b..e3fd06a 100644 (file)
@@ -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-*-*.
 
index b064d1c..a3edc12 100644 (file)
@@ -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));