On Fri, Apr 01, 2022 at 08:11:43PM +0800, Xi Ruoyao wrote: > v1 -> v2: > > * "int has_zero_width_bf_abi_change" -> "bool > zero_width_field_abi_change". "int" -> "bool" because it's only 0/1, > "bf" -> "field" because the change also affects zero-length arrays and > empty structs/unions, etc. > > * Add tests with zero-length array and empty struct. > > * Coding style fix. > > * "#zero_width_bitfields" -> "#mips_zero_width_fields" because this is > not the exactly same change documented by #zero_width_bitfields. I'll > send a wwwdoc patch after this is approved. > > gcc/ > PR target/102024 > * mips.cc (mips_function_arg): Ignore zero-width fields, and > inform if it causes a psABI change. > > gcc/testsuite/ > PR target/102024 > * gcc.target/mips/pr102024-1.c: New test. > * gcc.target/mips/pr102024-2.c: New test. > * gcc.target/mips/pr102024-3.c: New test.
LGTM, thanks. Jakub