[Bug tree-optimization/86203] duplicate non-constant call to strlen() not folded

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 19 07:14:00 GMT 2018


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |rguenth at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
The issue is that s may point to n0 so this optimization isn't valid.


More information about the Gcc-bugs mailing list