This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PR tree-optimization/46620, 4.4] skip padding in bitfield SRA grouping
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 16 Feb 2011 11:23:46 +0100
- Subject: Re: [PR tree-optimization/46620, 4.4] skip padding in bitfield SRA grouping
- References: <or39no70tr.fsf@livre.localdomain>
On Wed, Feb 16, 2011 at 11:04 AM, Alexandre Oliva <aoliva@redhat.com> wrote:
> Before the latest SRA rewrite, we had a pass that attempted to group
> multiple bitfields into single variables. ?It attempted to extend these
> variables to cover padding bits, but there was a bug that got it
> confused when it found padding bits before the range it intended to
> cover.
>
> This patch changes the tests so that the tentatively-extended range will
> always shrink towards the range of interest, instead of getting stuck at
> a padding range.
>
> Regstrapped on x86_64-linux-gnu. ?Ok to install?
Please add a runtime testcase for such wrong-code bugs. Ok with
that, please also install the testcase on the 4.5 branch and trunk.
Thanks,
Richard.