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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #3)
> Given the TREE_STATIC on:
>   static const int C.0[2] = {1, 2};
> I don't understand why there is ASAN_UNPOISON/ASAN_POISON for C.0, shouldn't
> that be applied solely to automatic variables, not block scope locals?

Ah, you are right. We shouldn't do it for static variables.

Reply via email to