https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86358
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easyhack Status|UNCONFIRMED |NEW Last reconfirmed| |2018-06-29 CC| |egallager at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> --- Confirmed by looking in opts.c that strip_off_ending() works like that. I'm guessing it should probably check for nul-termination rather than hardcoding a limit.