This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PR tree-optimization/46620, 4.4] skip padding in bitfield SRA grouping


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]