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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reading the mips_function_arg code in detail, it seems it has been ignoring the
zero width bitfields because it only checks for 64-bit aligned 64-bit double
fields and if they appear, passes that part of struct in FPRs, otherwise in
GPRs.
So there is likely no change in that case from older releases (of course it is
a question what the psABI wants).
mips_fpr_return_fields seems to be affected, but the psABI wording (at least my
reading thereof) seems to be that int:0; should make it return 0 like it now
does
(but didn't for C++ in 4.5 to 11).
Thus maybe only -Wpsabi diagnostics for mips_fpr_return_fields is missing.

Let me close this as a P1 for now then.

Reply via email to