Re: [PATCH] testsuite: Add further zero size elt passing tests [PR102024]

2022-04-06 Thread Jeff Law via Gcc-patches
On 3/31/2022 9:54 AM, Jakub Jelinek via Gcc-patches wrote: Hi! As discussed in PR102024, zero width bitfields might not be the only ones causing ABI issues at least on mips, zero size arrays or (in C only) zero sized (empty) structures can be problematic too. The following patch adds some

Re: [PATCH] testsuite: Add further zero size elt passing tests [PR102024]

2022-04-01 Thread Richard Biener via Gcc-patches
On Thu, 31 Mar 2022, Jakub Jelinek wrote: > Hi! > > As discussed in PR102024, zero width bitfields might not be the only ones > causing ABI issues at least on mips, zero size arrays or (in C only) zero > sized (empty) structures can be problematic too. > > The following patch adds some coverage

[PATCH] testsuite: Add further zero size elt passing tests [PR102024]

2022-04-01 Thread Jakub Jelinek via Gcc-patches
Hi! As discussed in PR102024, zero width bitfields might not be the only ones causing ABI issues at least on mips, zero size arrays or (in C only) zero sized (empty) structures can be problematic too. The following patch adds some coverage for it too. Tested on x86_64-linux with make check-gcc