https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124637
Roger Sayle <roger at nextmovesoftware dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roger at nextmovesoftware dot
com
--- Comment #11 from Roger Sayle <roger at nextmovesoftware dot com> ---
Created attachment 64065
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64065&action=edit
proposed patch
Here's my guess at a patch. Unfortunately, the only targets I can thoroughly
test are little-endian, so although this patch appears to improve/change code
generation on a cross-compiler to powerpc64-linux-gnu, testing beyond that is
minimal. If someone could confirm that this fixes things on real hardware (or
a simulator) that would be great, then the next step would be to check that it
doesn't cause problems on other big-endian targets.