https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65089
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- The patch eliminates the issue for all three of the BOZ cases. What I do not understand is why passing the pointer p to strlen causes a problem.