public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2611] Mark gcc.dg/shrink-wrap-loop.c as XFAIL.
@ 2021-07-30 10:34 Aldy Hernandez
  0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2021-07-30 10:34 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2730aa7809b47dce47ca0b5e51a6af2164335cf1

commit r12-2611-g2730aa7809b47dce47ca0b5e51a6af2164335cf1
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Fri Jul 30 12:28:21 2021 +0200

    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.

Diff:
---
 gcc/testsuite/gcc.dg/shrink-wrap-loop.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/shrink-wrap-loop.c b/gcc/testsuite/gcc.dg/shrink-wrap-loop.c
index ba872fa23f6..6e1be8937fe 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 *-*-* } } } */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-30 10:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-30 10:34 [gcc r12-2611] Mark gcc.dg/shrink-wrap-loop.c as XFAIL Aldy Hernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).