Re: [PATCH] PR target/96307: Fix KASAN option checking.

2021-01-14 Thread Kito Cheng via Gcc-patches
It's OK for gcc 10? I just forgot to backport that... On Fri, Nov 6, 2020 at 11:24 AM Kito Cheng wrote: > > Committed, thanks :) > > On Fri, Nov 6, 2020 at 6:21 AM Jeff Law wrote: > > > > > On 10/16/20 3:01 AM, Martin Liška wrote: > > > On 10/16/20 9:41 AM, Kito Cheng wrote: > > >> I think it is

Re: [PATCH] PR target/96307: Fix KASAN option checking.

2020-11-05 Thread Kito Cheng
Committed, thanks :) On Fri, Nov 6, 2020 at 6:21 AM Jeff Law wrote: > > On 10/16/20 3:01 AM, Martin Liška wrote: > > On 10/16/20 9:41 AM, Kito Cheng wrote: > >> I think it is still useful for other targets which are not supporting > >> libsanitizer yet, so in this patch I also moved related test

Re: [PATCH] PR target/96307: Fix KASAN option checking.

2020-11-05 Thread Jeff Law via Gcc-patches
On 10/16/20 3:01 AM, Martin Liška wrote: > On 10/16/20 9:41 AM, Kito Cheng wrote: >> I think it is still useful for other targets which are not supporting >> libsanitizer yet, so in this patch I also moved related testcases >> from gcc.target to gcc.dg. > > All right, I can't approve the patch, b

Re: [PATCH] PR target/96307: Fix KASAN option checking.

2020-10-16 Thread Martin Liška
On 10/16/20 9:41 AM, Kito Cheng wrote: I think it is still useful for other targets which are not supporting libsanitizer yet, so in this patch I also moved related testcases from gcc.target to gcc.dg. All right, I can't approve the patch, but I support it. Martin

Re: [PATCH] PR target/96307: Fix KASAN option checking.

2020-10-16 Thread Kito Cheng
Hi Martin: I think it is still useful for other targets which are not supporting libsanitizer yet, so in this patch I also moved related testcases from gcc.target to gcc.dg. On Fri, Oct 16, 2020 at 3:34 PM Martin Liška wrote: > Hello. > > I'm expecting a support for libsanitizer for RISC-V happ

Re: [PATCH] PR target/96307: Fix KASAN option checking.

2020-10-16 Thread Martin Liška
Hello. I'm expecting a support for libsanitizer for RISC-V happening soon. Having that, will we still need this patch? Thanks, Martin

Re: [PATCH] PR target/96307: Fix KASAN option checking.

2020-10-13 Thread Kito Cheng
ping On Mon, Oct 5, 2020 at 5:49 PM Kito Cheng wrote: > - Disable kasan if target is unsupported and -fasan-shadow-offset= is not >given, no matter `--param asan-stack=1` is given or not. > > - Moving KASAN option checking testcase to gcc.dg, those testcase could be >useful for all oth

[PATCH] PR target/96307: Fix KASAN option checking.

2020-10-05 Thread Kito Cheng
- Disable kasan if target is unsupported and -fasan-shadow-offset= is not given, no matter `--param asan-stack=1` is given or not. - Moving KASAN option checking testcase to gcc.dg, those testcase could be useful for all other target which not support asan. - Verifed on riscv and x86. g