https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105870
--- Comment #8 from JUN SHA ---
I have fixed this bug and will commit the patch then.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105870
--- Comment #7 from JUN SHA ---
Ping.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105870
--- Comment #6 from JUN SHA ---
(In reply to Andreas Schwab from comment #4)
> The situation hasn't changed in the last 7 months.
Do you know which patch caused this failure 7 months ago?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105870
--- Comment #5 from JUN SHA ---
(In reply to Andreas Schwab from comment #4)
> The situation hasn't changed in the last 7 months.
Do you know the most recent commit id where asan can work correctly 7 months
ago?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105870
--- Comment #3 from JUN SHA ---
(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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105870
--- Comment #2 from JUN SHA ---
(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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105870
Bug ID: 105870
Summary: Asan cannot work correctly for RISC-V GCC
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105330
Bug ID: 105330
Summary: Asan cannot work correctly for RISC-V GCC
Product: gcc
Version: 11.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: san