https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105870

--- Comment #3 from JUN SHA <cooper.joshua at linux dot alibaba.com> ---
(In reply to Andreas Schwab from comment #1)
> There is actually a total of two tests that PASS:
> c-c++-common/asan/strncpy-overflow-1.c and
> c-c++-common/asan/strlen-overflow-1.c.

I spent a few hours debugging the up-to-date sanitizer code, but got nothing. 
What about llvm? Will the same error occur?
If asan can work for riscv llvm, the gcc failure may result from the recent
merge.

Reply via email to