Re: [PATCH][RFC] Fix PR48124

2012-02-02 Thread Richard Guenther
On Thu, 2 Feb 2012, Richard Guenther wrote: > On Wed, 1 Feb 2012, Richard Guenther wrote: > > > > > This fixes PR48124 where a bitfield store leaks into adjacent > > decls if the decl we store to has bigger alignment than what > > its type requires (thus there is another decl in that "padding").

Re: [PATCH][RFC] Fix PR48124

2012-02-02 Thread Richard Guenther
On Wed, 1 Feb 2012, Richard Guenther wrote: > > This fixes PR48124 where a bitfield store leaks into adjacent > decls if the decl we store to has bigger alignment than what > its type requires (thus there is another decl in that "padding"). [...] > Bootstraped on x86_64-unknown-linux-gnu, testi

[PATCH][RFC] Fix PR48124

2012-02-01 Thread Richard Guenther
This fixes PR48124 where a bitfield store leaks into adjacent decls if the decl we store to has bigger alignment than what its type requires (thus there is another decl in that "padding"). What we need to do is limit what get_best_mode returns and we can do so by specifying a mode on the MEM we p