https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66152
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-02-15 Version|unknown |9.0 Target Milestone|--- |9.0 Summary|suboptimal load bytes to |[9 Regression] suboptimal |stack |load bytes to stack Ever confirmed|0 |1 --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That only happens if there is '\0' embedded in the created string before end. Anyway, this makes it a regression.