This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/84762] GCC for PowerPC32 violates the SysV ABI spec for small struct returns
- From: "segher at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Mar 2018 18:04:50 +0000
- Subject: [Bug target/84762] GCC for PowerPC32 violates the SysV ABI spec for small struct returns
- Auto-submitted: auto-generated
- References: <bug-84762-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84762
--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> ---
The problem in trunk happens at expand time already: it loads the 32-bit word
it created from stack, and then shifts it left by -8 bits.