https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62042
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Avoiding calling unnecessary routines when copying an object, is a VERY > useful optimization, just because copying operation is VERY often in real > software. But you generally cannot do this optimization with controlled objects in real software.