[Bug sanitizer/90570] [9/10 Regression] AddressSanitizer: stack-use-after-scope

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 22 13:31:00 GMT 2019


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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?


More information about the Gcc-bugs mailing list