diff mbox series

[testsuite,ppc] xfail uninit-pred-9_b bogus warn on ppc32 too

Message ID orilcip9nk.fsf@lxoliva.fsfla.org
State New
Headers show
Series [testsuite,ppc] xfail uninit-pred-9_b bogus warn on ppc32 too | expand

Commit Message

Alexandre Oliva May 24, 2023, 5:42 a.m. UTC
The bogus warning is present on 32-bit ppc-vx7r2 too, so drop the 64
from the powerpc xfail triplet.

Bootstrapped on x86_64-linux-gnu.  Also tested on ppc- and x86-vx7r2
with gcc-12.

for  gcc/testsuite/ChangeLog

	* gcc.dg/uninit-pred-9_b.c: Xfail bogus warning on 32-bit ppc
	as well.
---
 gcc/testsuite/gcc.dg/uninit-pred-9_b.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kewen.Lin May 24, 2023, 5:59 a.m. UTC | #1
on 2023/5/24 13:42, Alexandre Oliva via Gcc-patches wrote:
> 
> The bogus warning is present on 32-bit ppc-vx7r2 too, so drop the 64
> from the powerpc xfail triplet.
> 
> Bootstrapped on x86_64-linux-gnu.  Also tested on ppc- and x86-vx7r2
> with gcc-12.

It xfail-ed on my local BE -m32 testing but because the underlying is
powerpc64, I think it's reasonable to drop 64 here.

Thanks for catching and fixing, OK for trunk!

BR,
Kewen

> 
> for  gcc/testsuite/ChangeLog
> 
> 	* gcc.dg/uninit-pred-9_b.c: Xfail bogus warning on 32-bit ppc
> 	as well.
> ---
>  gcc/testsuite/gcc.dg/uninit-pred-9_b.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
> index c8f427b12c0ab..0f508fa56e1c5 100644
> --- a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
> +++ b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
> @@ -17,7 +17,7 @@ int foo (int n, int l, int m, int r)
>  
>    if (l > 100)
>      if ( (n <= 9) &&  (m < 100)  && (r < 19) )
> -      blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail powerpc64*-*-* cris-*-* riscv*-*-* } } */
> +      blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail powerpc*-*-* cris-*-* riscv*-*-* } } */
>  
>    if ( (n <= 8) &&  (m < 99)  && (r < 19) )
>        blah(v); /* { dg-bogus "uninitialized" "pr101674" { xfail mmix-*-* } } */
>
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
index c8f427b12c0ab..0f508fa56e1c5 100644
--- a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
+++ b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
@@ -17,7 +17,7 @@  int foo (int n, int l, int m, int r)
 
   if (l > 100)
     if ( (n <= 9) &&  (m < 100)  && (r < 19) )
-      blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail powerpc64*-*-* cris-*-* riscv*-*-* } } */
+      blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail powerpc*-*-* cris-*-* riscv*-*-* } } */
 
   if ( (n <= 8) &&  (m < 99)  && (r < 19) )
       blah(v); /* { dg-bogus "uninitialized" "pr101674" { xfail mmix-*-* } } */