https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110676
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[11/12/13/14 Regression] |[11/12/13 Regression]
|strlen of array[1] should |strlen of array[1] should
|not be optimized to 0 if |not be optimized to 0 if
|using ASAN |using ASAN
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk. Not sure whether we want to backport this or not.