OSDN Git Service

PR middle-end/38934
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / funcorder.c
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));