Re: Urgent GCC ABI backend maintainer ping re zero width bitfield passing (PR102024)

2022-03-25 Thread Richard Earnshaw via Gcc
On 25/03/2022 14:47, Jakub Jelinek via Gcc wrote: On Fri, Mar 25, 2022 at 02:26:56PM +, Richard Earnshaw wrote: Just to confirm that this is our final position. The 'int:0 field should be ignored for the purposes of determining the parameter passing as it has no effect on the layout of t

Re: Urgent GCC ABI backend maintainer ping re zero width bitfield passing (PR102024)

2022-03-25 Thread Jakub Jelinek via Gcc
On Fri, Mar 25, 2022 at 02:26:56PM +, Richard Earnshaw wrote: > Just to confirm that this is our final position. The 'int:0 field should be > ignored for the purposes of determining the parameter passing as it has no > effect on the layout of the type. > > We do not feel that an update to the

Re: Urgent GCC ABI backend maintainer ping re zero width bitfield passing (PR102024)

2022-03-25 Thread Richard Earnshaw via Gcc
On 22/03/2022 16:28, Richard Earnshaw via Gcc wrote: On 21/03/2022 16:28, Jakub Jelinek via Gcc wrote: Hi! I'd like to ping port maintainers about https://gcc.gnu.org/PR102024 As I wrote, the int : 0 bitfields are present early in the TYPE_FIELDS during structure layout and intentionally

Re: Urgent GCC ABI backend maintainer ping re zero width bitfield passing (PR102024)

2022-03-22 Thread Richard Earnshaw via Gcc
On 22/03/2022 16:51, Jakub Jelinek via Gcc wrote: On Tue, Mar 22, 2022 at 04:28:08PM +, Richard Earnshaw wrote: Unless I've missed something subtle here, the layout of struct S { float a; int : 0; float b;}; is going to identical to struct T { float a; float b;}; on pretty much

Re: Urgent GCC ABI backend maintainer ping re zero width bitfield passing (PR102024)

2022-03-22 Thread Jakub Jelinek via Gcc
On Tue, Mar 22, 2022 at 04:28:08PM +, Richard Earnshaw wrote: > Unless I've missed something subtle here, the layout of > > struct S { float a; int : 0; float b;}; > > is going to identical to > > struct T { float a; float b;}; > > on pretty much every architecture I can think of, so th

Re: Urgent GCC ABI backend maintainer ping re zero width bitfield passing (PR102024)

2022-03-22 Thread Richard Earnshaw via Gcc
On 21/03/2022 16:28, Jakub Jelinek via Gcc wrote: Hi! I'd like to ping port maintainers about https://gcc.gnu.org/PR102024 As I wrote, the int : 0 bitfields are present early in the TYPE_FIELDS during structure layout and intentionally affect the layout. We had some code to remove those from

Re: Urgent GCC ABI backend maintainer ping re zero width bitfield passing (PR102024)

2022-03-21 Thread Andreas Krebbel via Gcc
On 3/21/22 17:28, Jakub Jelinek wrote: > Hi! > > I'd like to ping port maintainers about > https://gcc.gnu.org/PR102024 > > As I wrote, the int : 0 bitfields are present early in the TYPE_FIELDS > during structure layout and intentionally affect the layout. > We had some code to remove those from

Urgent GCC ABI backend maintainer ping re zero width bitfield passing (PR102024)

2022-03-21 Thread Jakub Jelinek via Gcc
Hi! I'd like to ping port maintainers about https://gcc.gnu.org/PR102024 As I wrote, the int : 0 bitfields are present early in the TYPE_FIELDS during structure layout and intentionally affect the layout. We had some code to remove those from TYPE_FIELDS chains in the C and C++ FEs, but for C tha