From 2f6bdd51cfe15403085b69c133065ebda4af9bb9 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Thu, 29 Jul 2021 10:11:18 -0600 Subject: [PATCH] Xfail just the failing assertion and correct target. Related to: PR middle-end/101674 - gcc.dg/uninit-pred-9_b.c fails after jump threading rewrite gcc/testsuite: PR middle-end/101674 * gcc.dg/uninit-pred-9_b.c: Xfail just the failing assertion and correct target. --- gcc/testsuite/gcc.dg/uninit-pred-9_b.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c index d46d6659a616..e0dc21405f7d 100644 --- a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c +++ b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c @@ -1,7 +1,5 @@ - /* { dg-do compile } */ /* { dg-options "-Wuninitialized -O2" } */ -/* { dg-xfail-if "threading shuffles things around" { ppc64*-*-* } } */ int g; void bar(); @@ -22,7 +20,7 @@ int foo (int n, int l, int m, int r) blah(v); /* { dg-bogus "uninitialized" "bogus warning" } */ if ( (n <= 8) && (m < 99) && (r < 19) ) - blah(v); /* { dg-bogus "uninitialized" "bogus warning" } */ + blah(v); /* { dg-bogus "uninitialized" "pr101674" { xfail powerpc64*-*-* } } */ return 0; } -- 2.47.2