This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]