https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111231

--- Comment #41 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(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).

Reply via email to