Re: [PATCH][C++] Fix PR71694, store data race with tail-padding

2016-12-19 Thread Richard Biener
On December 19, 2016 11:25:49 PM GMT+01:00, Jeff Law wrote: >On 12/14/2016 03:44 AM, Richard Biener wrote: >> >> The following implements Jasons suggestion of using a langhook to >> return the size of an aggregate without tail padding that might >> be re-used when it is inherited from. >> >> Using

Re: [PATCH][C++] Fix PR71694, store data race with tail-padding

2016-12-19 Thread Jeff Law
On 12/14/2016 03:44 AM, Richard Biener wrote: The following implements Jasons suggestion of using a langhook to return the size of an aggregate without tail padding that might be re-used when it is inherited from. Using this langhook we can fix the size of the representative for the bitfield pr

Re: [PATCH][C++] Fix PR71694, store data race with tail-padding

2016-12-14 Thread Jason Merrill
OK, thanks. On Wed, Dec 14, 2016 at 5:44 AM, Richard Biener wrote: > > The following implements Jasons suggestion of using a langhook to > return the size of an aggregate without tail padding that might > be re-used when it is inherited from. > > Using this langhook we can fix the size of the rep

[PATCH][C++] Fix PR71694, store data race with tail-padding

2016-12-14 Thread Richard Biener
The following implements Jasons suggestion of using a langhook to return the size of an aggregate without tail padding that might be re-used when it is inherited from. Using this langhook we can fix the size of the representative for the bitfield properly and thus generate correct code for the t