Re: [PATCH] Fix Wstringop-overflow-47.c warning in RISC-V target.

2024-08-06 Thread Jiawei
在 2024/8/5 23:16, Jeff Law 写道: On 7/15/24 10:08 PM, Jiawei wrote: 在 2024/07/16 8:28, Jeff Law 写道: IIRC these fails are dependent upon whether or not the statements turn into vector stores or not. So to remove the xfail don't you have to know if vector is enabled/ disabled? I am not s

Re: [PATCH] Fix Wstringop-overflow-47.c warning in RISC-V target.

2024-08-05 Thread Jeff Law
On 7/15/24 10:08 PM, Jiawei wrote: 在 2024/07/16 8:28, Jeff Law 写道: IIRC these fails are dependent upon whether or not the statements turn into vector stores or not. So to remove the xfail don't you have to know if vector is enabled/ disabled? I am not sure, I tried to enable with RVV,

Re: [PATCH] Fix Wstringop-overflow-47.c warning in RISC-V target.

2024-07-15 Thread Jiawei
在 2024/07/16 8:28, Jeff Law 写道: IIRC these fails are dependent upon whether or not the statements turn into vector stores or not. So to remove the xfail don't you have to know if vector is enabled/disabled? I am not sure, I tried to enable with RVV, but it still pass the test: https://go

Re: [PATCH] Fix Wstringop-overflow-47.c warning in RISC-V target.

2024-07-15 Thread Jeff Law
On 7/15/24 6:15 PM, Jiawei wrote: Update warning test info for RISC-V target, compared on godbolt: https://godbolt.org/z/Mexd3dfcc gcc/testsuite/ChangeLog: * gcc.dg/Wstringop-overflow-47.c: Remove xfail target. IIRC these fails are dependent upon whether or not the statements turn

[PATCH] Fix Wstringop-overflow-47.c warning in RISC-V target.

2024-07-15 Thread Jiawei
Update warning test info for RISC-V target, compared on godbolt: https://godbolt.org/z/Mexd3dfcc gcc/testsuite/ChangeLog: * gcc.dg/Wstringop-overflow-47.c: Remove xfail target. --- gcc/testsuite/gcc.dg/Wstringop-overflow-47.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)