[Bug tree-optimization/79196] [7 Regression] Probably invalid folding of strstr(x, "foo") eq x to memcmp (x, "foo", strlen("foo"))

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 23 11:46:00 GMT 2017


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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I suppose you could use strncmp instead.


More information about the Gcc-bugs mailing list