aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2021-07-30 12:28:21 +0200
committerAldy Hernandez <aldyh@redhat.com>2021-07-30 12:34:27 +0200
commit2730aa7809b47dce47ca0b5e51a6af2164335cf1 (patch)
treec57023f647947d7ab57b2c4f5ed23c577a9501d6
parent28665ddc7efa48f9b39615e313a2c4a7a66cdb24 (diff)
downloadgcc-2730aa7809b47dce47ca0b5e51a6af2164335cf1.zip
gcc-2730aa7809b47dce47ca0b5e51a6af2164335cf1.tar.gz
gcc-2730aa7809b47dce47ca0b5e51a6af2164335cf1.tar.bz2
Mark gcc.dg/shrink-wrap-loop.c as XFAIL.
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.
-rw-r--r--gcc/testsuite/gcc.dg/shrink-wrap-loop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/shrink-wrap-loop.c b/gcc/testsuite/gcc.dg/shrink-wrap-loop.c
index ba872fa..6e1be893 100644
--- a/gcc/testsuite/gcc.dg/shrink-wrap-loop.c
+++ b/gcc/testsuite/gcc.dg/shrink-wrap-loop.c
@@ -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 *-*-* } } } */