[Bug middle-end/124637] [13/14/15/16 Regression] powerpc64: invalid code while passing a struct via register
roger at nextmovesoftware dot com
gcc-bugzilla@gcc.gnu.org
Sat Mar 28 22:43:49 GMT 2026
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.
More information about the Gcc-bugs
mailing list