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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
So it's nice what we do currently, this works for me:

$ gcc pr85329.c -fsanitize=address && ASAN_OPTIONS=allocator_may_return_null=1
./a.out 
rv = 22
ptr = 0xffffffffffffffff

Reply via email to