Re: [PATCH] AIX struct alignment (PR 99557)

2021-03-25 Thread David Edelsohn via Gcc-patches
On Wed, Mar 24, 2021 at 11:30 AM Iain Sandoe wrote: > > David Edelsohn via Gcc-patches wrote: > > > On Wed, Mar 24, 2021 at 3:51 AM Richard Biener > > wrote: > >> On Wed, Mar 24, 2021 at 3:03 AM David Edelsohn wrote: > >>> On Mon, Mar 22, 2021 at 4:10 AM Richard Biener > >>> wrote: > >>> > >>>

Re: [PATCH] AIX struct alignment (PR 99557)

2021-03-25 Thread Richard Biener via Gcc-patches
On Wed, Mar 24, 2021 at 4:23 PM David Edelsohn wrote: > > On Wed, Mar 24, 2021 at 3:51 AM Richard Biener > wrote: > > > > On Wed, Mar 24, 2021 at 3:03 AM David Edelsohn wrote: > > > > > > On Mon, Mar 22, 2021 at 4:10 AM Richard Biener > > > wrote: > > > > > > > Oh, and for a type like > > > > >

Re: [PATCH] AIX struct alignment (PR 99557)

2021-03-24 Thread David Edelsohn via Gcc-patches
On Wed, Mar 24, 2021 at 3:46 PM David Edelsohn wrote: > > On Wed, Mar 24, 2021 at 11:30 AM Iain Sandoe wrote: > > > > David Edelsohn via Gcc-patches wrote: > > > > > On Wed, Mar 24, 2021 at 3:51 AM Richard Biener > > > wrote: > > >> On Wed, Mar 24, 2021 at 3:03 AM David Edelsohn wrote: > > >>>

Re: [PATCH] AIX struct alignment (PR 99557)

2021-03-24 Thread David Edelsohn via Gcc-patches
On Wed, Mar 24, 2021 at 11:30 AM Iain Sandoe wrote: > > David Edelsohn via Gcc-patches wrote: > > > On Wed, Mar 24, 2021 at 3:51 AM Richard Biener > > wrote: > >> On Wed, Mar 24, 2021 at 3:03 AM David Edelsohn wrote: > >>> On Mon, Mar 22, 2021 at 4:10 AM Richard Biener > >>> wrote: > >>> > >>>

Re: [PATCH] AIX struct alignment (PR 99557)

2021-03-24 Thread Iain Sandoe via Gcc-patches
David Edelsohn via Gcc-patches wrote: On Wed, Mar 24, 2021 at 3:51 AM Richard Biener wrote: On Wed, Mar 24, 2021 at 3:03 AM David Edelsohn wrote: On Mon, Mar 22, 2021 at 4:10 AM Richard Biener wrote: Oh, and for a type like struct { struct { struct { ... { double x; } } } } } }; the la

Re: [PATCH] AIX struct alignment (PR 99557)

2021-03-24 Thread David Edelsohn via Gcc-patches
On Wed, Mar 24, 2021 at 3:51 AM Richard Biener wrote: > > On Wed, Mar 24, 2021 at 3:03 AM David Edelsohn wrote: > > > > On Mon, Mar 22, 2021 at 4:10 AM Richard Biener > > wrote: > > > > > Oh, and for a type like > > > > > > struct { struct { struct { ... { double x; } } } } } }; > > > > > > the

Re: [PATCH] AIX struct alignment (PR 99557)

2021-03-24 Thread Richard Biener via Gcc-patches
On Wed, Mar 24, 2021 at 3:03 AM David Edelsohn wrote: > > On Mon, Mar 22, 2021 at 4:10 AM Richard Biener > wrote: > > > Oh, and for a type like > > > > struct { struct { struct { ... { double x; } } } } } }; > > > > the layout now looks quadratic in work (each field layout will look at > > the n

Re: [PATCH] AIX struct alignment (PR 99557)

2021-03-23 Thread David Edelsohn via Gcc-patches
On Mon, Mar 22, 2021 at 4:10 AM Richard Biener wrote: > Oh, and for a type like > > struct { struct { struct { ... { double x; } } } } } }; > > the layout now looks quadratic in work (each field layout will look at > the nest rooted at it > up to the bottom). It looks to me as we require(?) the

Re: [PATCH] AIX struct alignment (PR 99557)

2021-03-22 Thread Richard Biener via Gcc-patches
On Mon, Mar 22, 2021 at 9:06 AM Richard Biener wrote: > > On Mon, Mar 22, 2021 at 3:04 AM David Edelsohn via Gcc-patches > wrote: > > > > The AIX power alignment rules apply the natural alignment of the > > "first member" if it is of a floating-point data type (or is an aggregate > > whose recurs

Re: [PATCH] AIX struct alignment (PR 99557)

2021-03-22 Thread Richard Biener via Gcc-patches
On Mon, Mar 22, 2021 at 3:04 AM David Edelsohn via Gcc-patches wrote: > > The AIX power alignment rules apply the natural alignment of the > "first member" if it is of a floating-point data type (or is an aggregate > whose recursively "first" member or element is such a type). The alignment > asso