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.