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: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cooper.joshua at linux dot alibaba.com
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at 
gcc dot gnu.org
  Target Milestone: ---

When I use '-fsanitize=address' to compile the program, like
gcc/testsuite/gcc.dg/asan/use-after-scope-1.c and then run on Qemu, I get 
AddressSanitizer: CHECK failed: sanitizer_allocator_primary32.h:292 "((res)) <
((kNumPossibleRegions))" (0x40016, 0x40000) (tid=80622)
    <empty stack>

Reply via email to