[Bug target/102024] [12 Regression] zero width bitfields and ABIs
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 1 14:39:44 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102024
--- Comment #36 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Xi Ruoyao <xry111@gcc.gnu.org>:
https://gcc.gnu.org/g:0d4b97f1ee5213dffce107bc9f260a22fb23b4b1
commit r12-7961-g0d4b97f1ee5213dffce107bc9f260a22fb23b4b1
Author: Xi Ruoyao <xry111@mengyan1223.wang>
Date: Wed Mar 30 22:22:45 2022 +0800
mips: Emit psabi diagnostic for return values affected by C++ zero-width
bit-field ABI change [PR 102024]
gcc/
PR target/102024
* config/mips/mips.cc (mips_fpr_return_fields): Detect C++
zero-width bit-fields and set up an indicator.
(mips_return_in_msb): Adapt for mips_fpr_return_fields change.
(mips_function_value_1): Diagnose when the presense of a C++
zero-width bit-field changes function returning in GCC 12.
gcc/testsuite/
PR target/102024
* g++.target/mips/mips.exp: New test supporting file.
* g++.target/mips/pr102024.C: New test.
More information about the Gcc-bugs
mailing list