[Bug tree-optimization/86203] duplicate non-constant call to strlen() not folded
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 20 14:29:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86203
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=86241
--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
snprintf (0, 0, "%s", s) returns the length of s without storing any
characters. I opened bug 86241 to implement that optimization.
More information about the Gcc-bugs
mailing list