aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2021-07-29 10:11:18 -0600
committerMartin Sebor <msebor@redhat.com>2021-07-29 10:11:18 -0600
commit2f6bdd51cfe15403085b69c133065ebda4af9bb9 (patch)
tree86e288f4c75541c31f70131d285ab27cc1c59e00 /gcc
parent3c13cf479ba81c4d29b202e9b8c6a7f0031a8b20 (diff)
downloadgcc-2f6bdd51cfe15403085b69c133065ebda4af9bb9.zip
gcc-2f6bdd51cfe15403085b69c133065ebda4af9bb9.tar.gz
gcc-2f6bdd51cfe15403085b69c133065ebda4af9bb9.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/uninit-pred-9_b.c4
1 files changed, 1 insertions, 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 d46d665..e0dc214 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;
}