https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102024
--- Comment #27 from Xi Ruoyao <xry111 at mengyan1223 dot wang> ---
(In reply to Jakub Jelinek from comment #23)
> struct A { double a; int : 0; double b; };
For MIPS I've done some experiment with this and the result (with N64 ABI) is:
With GCC trunk, G++ trunk, and GCC 11.2: argument passed via FPR $f12 and GPR
$5,
returned via GPR $2 and $3
With G++ 11.2: argument passed via FPR $f12 and $f13, returned via FPR $f0 and
$f2
So I guess we need -Wpsabi for both mips_function_arg and
mips_fpr_return_fields.