]> gcc.gnu.org Git - gcc.git/commitdiff
Mark gcc.dg/shrink-wrap-loop.c as XFAIL.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 30 Jul 2021 10:28:21 +0000 (12:28 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Fri, 30 Jul 2021 10:34:27 +0000 (12:34 +0200)
It occurs to me that I should not have disabled early jump threading in
this test, as it may hide an actual defect.  I have reverted my change
and XFAILed the test instead.  I have also opened a PR101690 to keep track
of this problem.

gcc/testsuite/ChangeLog:

* gcc.dg/shrink-wrap-loop.c: Enable early jump threading.  Mark as
XFAIL.

gcc/testsuite/gcc.dg/shrink-wrap-loop.c

index ba872fa23f67b6d9c2def28ddb64ecaa86b78f92..6e1be8937feb6cb043a75a0e1b30390b9554726e 100644 (file)
@@ -1,6 +1,5 @@
 /* { dg-do compile { target { { { i?86-*-* x86_64-*-* } && lp64 } || { arm_thumb2 } } } } */
 /* { dg-options "-O2 -fdump-rtl-pro_and_epilogue"  } */
-// { dg-additional-options "-fdisable-tree-ethread" }
 
 /*
 Our new threader is threading things a bit too early, and causing the
@@ -69,4 +68,4 @@ test (int *p1, int *p2)
 
   return 1;
 }
-/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue"  } } */
+/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" { xfail *-*-* } } } */
This page took 0.067563 seconds and 5 git commands to generate.