diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-03-31 23:40:23 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2022-04-01 22:37:58 +0800 |
commit | 413187b0b3c873333253838e4afbf8463b288b59 (patch) | |
tree | 3ff968d0fdb8bbb22496c55fe2a5a7a003dad205 /gcc/function.cc | |
parent | 0d4b97f1ee5213dffce107bc9f260a22fb23b4b1 (diff) | |
download | gcc-413187b0b3c873333253838e4afbf8463b288b59.zip gcc-413187b0b3c873333253838e4afbf8463b288b59.tar.gz gcc-413187b0b3c873333253838e4afbf8463b288b59.tar.bz2 |
mips: Ignore zero width fields in arguments and issue -Wpsabi warning about C zero-width field ABI changes [PR102024]
gcc/
PR target/102024
* config/mips/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.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions