https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111231
--- Comment #43 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Mathieu Malaterre from comment #42) > (In reply to Andrew Pinski from comment #41) > > (In reply to Richard Earnshaw from comment #34) > > > 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... > > > > After r16-3887-g597b50abb0d2fc1f123a99e1b4beb89ad6259d9e, this issue might > > not show up any more due to the removal of the extra copies has been > > improved (there is still more to fixed there though). > > I still see on gcc-15 today: Did you read? I was referencing a patch to the trunk so it would be included in GCC 16.
