* [PATCH] RISC-V uninit-pred-9_b.c failure
@ 2022-11-15 19:08 Kevin Lee
2022-11-15 19:43 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Lee @ 2022-11-15 19:08 UTC (permalink / raw)
To: gcc-patches; +Cc: gnu-toolchain, Kevin Lee
The gimple generated by riscv is identical to that of powerpc64
currently. It seems like the change at r12-4790-4b3a325f07acebf47e82de227ce1d5ba62f5bcae also affected riscv64 like powerpc64 and cris.
gcc/testsuite/ChangeLog:
* gcc.dg/uninit-pred-9_b.c: Xfail for riscv64
---
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 53c4a5399ea..843f5323713 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-*-* } } */
+ blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail powerpc64*-*-* cris-*-* riscv64*-*-* } */
if ( (n <= 8) && (m < 99) && (r < 19) )
blah(v); /* { dg-bogus "uninitialized" "pr101674" { xfail mmix-*-* } } */
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] RISC-V uninit-pred-9_b.c failure
2022-11-15 19:08 [PATCH] RISC-V uninit-pred-9_b.c failure Kevin Lee
@ 2022-11-15 19:43 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2022-11-15 19:43 UTC (permalink / raw)
To: Kevin Lee, gcc-patches; +Cc: gnu-toolchain
On 11/15/22 12:08, Kevin Lee wrote:
> The gimple generated by riscv is identical to that of powerpc64
> currently. It seems like the change at r12-4790-4b3a325f07acebf47e82de227ce1d5ba62f5bcae also affected riscv64 like powerpc64 and cris.
>
> gcc/testsuite/ChangeLog:
>
> * gcc.dg/uninit-pred-9_b.c: Xfail for riscv64
Note that if we start adjusting BRANCH_COST then this may need further
refinement, but I think it's fine for now.
OK
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-15 19:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-15 19:08 [PATCH] RISC-V uninit-pred-9_b.c failure Kevin Lee
2022-11-15 19:43 ` Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).