https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111231
--- Comment #34 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- To be honest, I'm more concerned that we aren't eliminating a lot of these copies during the gimple optimization phase. The memcpy is really a type punning step (that's strictly ISO C compliant, rather than using the GCC union extension), so ideally we'd recognize that and eliminate as many of the copies as possible (perhaps using some form of view_convert or whatever gimple is appropriate for changing the view without changing the contents). But that's for another day...