]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Xfail just the failing assertion and correct target.
authorMartin Sebor <msebor@redhat.com>
Thu, 29 Jul 2021 16:11:18 +0000 (10:11 -0600)
committerMartin Sebor <msebor@redhat.com>
Thu, 29 Jul 2021 16:11:18 +0000 (10:11 -0600)
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

index d46d6659a616de618352e31874c0e998f05c95f9..e0dc21405f7da66ecc81701cf07dd88c2ad01255 100644 (file)
@@ -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;
 }