https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86519
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> --- FWIW, it would be safer and more deterministic to fold these invalid calls to some non-zero value that it is to emit the invalid library call. With a small string, the risk that the call will crash is small but the result could still be different depending on how strings are laid out in memory. With larger strings, the risk is greater as will be the non-determinism.