Re: [PATCH] Fix PR70013

2016-03-11 Thread Richard Biener
On Fri, Mar 11, 2016 at 11:14 AM, Alan Lawrence wrote: > In this PR, a packed structure containing bitfields, loses part of its > constant-pool initialization in SRA. > > A fuller explanation is on the PR: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70013#c11. In short we need to > treat const

[PATCH] Fix PR70013

2016-03-11 Thread Alan Lawrence
In this PR, a packed structure containing bitfields, loses part of its constant-pool initialization in SRA. A fuller explanation is on the PR: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70013#c11. In short we need to treat constant-pool entries, like function parameters, as both come 'pre-initi