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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Well, they are not equivalent ;)  strlen returns a size_t variable and thus
strlen()+1 might wrap around zero ...  (ok, insert argument here why
strlen() cannot return (size_t)~0 - terminating zero to the rescue!)

But I suppose your report wasn't about strlen() + 1 specifically?

Reply via email to