This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/79196] Probably invalid folding of strstr(x, "foo") eq x to memcmp (x, "foo", strlen("foo"))
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Jan 2017 15:01:01 +0000
- Subject: [Bug tree-optimization/79196] Probably invalid folding of strstr(x, "foo") eq x to memcmp (x, "foo", strlen("foo"))
- Auto-submitted: auto-generated
- References: <bug-79196-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79196
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Summary|[7 Regression] Probably |Probably invalid folding of
|invalid folding of |strstr(x, "foo") eq x to
|strstr(x, "foo") eq x to |memcmp (x, "foo",
|memcmp (x, "foo", |strlen("foo"))
|strlen("foo")) |
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.