[Bug target/33989] Extra load/store for float with union

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 22 11:06:00 GMT 2020


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |powerpc*-*
          Component|middle-end                  |target

--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Scott Mansell from comment #15)
> Weirdly, it works fine with doubles.

At least at the time I wrote up this bug report, can_change_mode target hook on
rs6000 would reject SImode and SFmode IIRC which forces a reload (spill when
moving between those two).  Now I have not looked at the rs6000 back-end for
almost 10 years so I cannot say if this still applies or not.

Moving to a target bug.


More information about the Gcc-bugs mailing list