https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- For memcmp, it looks completely wrong to use c_getstr, I think in that case it should use string_constant instead, or if it uses it, it should punt if the returned length by it is smaller than the length of the memcmp call and not use strnlen.