https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84794
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |TREE Last reconfirmed|2018-03-12 00:00:00 |2021-9-5 Severity|normal |enhancement --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- In GCC 11+ (due to r11-2647-g299c9857); expand (with ter turned on), is able to remove the memcpy call in h .