From: Martin Sebor Date: Thu, 29 Jul 2021 16:11:18 +0000 (-0600) Subject: Xfail just the failing assertion and correct target. X-Git-Tag: basepoints/gcc-13~5713 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f6bdd51cfe15;p=thirdparty%2Fgcc.git 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. --- 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; }