https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108506
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |pinskia at gcc dot gnu.org
Keywords|fixed-but-no-testcase, |
|needs-bisection |
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot
gnu.org
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to m.cencora from comment #5)
> Almost, there is still some unnecessary stack spill with bit_cast case:
Oh I missed that. I have an idea on how to fix that.
Basically:
MEM[(struct Foo *)output_7(D) + ivtmp.13_20 * 1] = VIEW_CONVERT_EXPR<struct
Foo>(_1);
should be turned around.
Let me see if I can implement that in gimple fold.