On 8/13/2021 2:05 AM, Martin Liška wrote:
Return content of flag_sanitize_coverage when fn is null.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin

    PR c++/101331

gcc/ChangeLog:

    * asan.h (sanitize_coverage_p): Handle when fn == NULL.

gcc/testsuite/ChangeLog:

    * g++.dg/pr101331.C: New test.
Assuming that FN can legitimately have a NULL value here, OK.
jeff

Reply via email to