Re: [PATCH] x86_64: Ignore zero width bitfields in ABI and issue -Wpsabi warning about C zero width bitfield ABI changes [PR102024]

2022-01-10 Thread Uros Bizjak via Gcc-patches
On Mon, Jan 10, 2022 at 3:23 PM Michael Matz wrote: > > Hello, > > On Mon, 20 Dec 2021, Uros Bizjak wrote: > > > > Thanks. > > > I see nobody commented on Micha's post there. > > > > > > Here is a patch that implements it in GCC, i.e. C++ doesn't change ABI > > > (at least > > > not from the

Re: [PATCH] x86_64: Ignore zero width bitfields in ABI and issue -Wpsabi warning about C zero width bitfield ABI changes [PR102024]

2022-01-10 Thread Michael Matz via Gcc-patches
Hello, On Mon, 20 Dec 2021, Uros Bizjak wrote: > > Thanks. > > I see nobody commented on Micha's post there. > > > > Here is a patch that implements it in GCC, i.e. C++ doesn't change ABI (at > > least > > not from the past few releases) and C does for GCC: > > > > 2021-12-15 Jakub Jelinek >

Re: [PATCH] x86_64: Ignore zero width bitfields in ABI and issue -Wpsabi warning about C zero width bitfield ABI changes [PR102024]

2021-12-20 Thread Uros Bizjak via Gcc-patches
On Wed, Dec 15, 2021 at 3:50 PM Jakub Jelinek wrote: > > On Mon, Nov 29, 2021 at 05:25:30AM -0700, H.J. Lu wrote: > > > I'd like to ping this patch, but perhaps first it would be nice to discuss > > > it in the x86-64 psABI group. > > > The current psABI doesn't seem to mention zero sized

[PATCH] x86_64: Ignore zero width bitfields in ABI and issue -Wpsabi warning about C zero width bitfield ABI changes [PR102024]

2021-12-15 Thread Jakub Jelinek via Gcc-patches
On Mon, Nov 29, 2021 at 05:25:30AM -0700, H.J. Lu wrote: > > I'd like to ping this patch, but perhaps first it would be nice to discuss > > it in the x86-64 psABI group. > > The current psABI doesn't seem to mention zero sized bitfields at all > > explicitly, so perhaps theoretically they should