https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note gcc thinks strlen(s) is less than or equal to 3 as s is really T.s which is an array of 4 in size and there for the last element has to be a null char.