This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC/RFA: patch for PR 22156: improve SRA for bit-fields
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>
- Date: Fri, 4 May 2007 07:58:41 +0200
- Subject: Re: RFC/RFA: patch for PR 22156: improve SRA for bit-fields
- References: <or648xoi7m.fsf@free.oliva.athome.lsd.ic.unicamp.br> <200704221114.25690.ebotcazou@adacore.com> <or6479cupx.fsf@free.oliva.athome.lsd.ic.unicamp.br>
> I'm sorry, I'd mistaken your report as a miscompilation, that I hoped
> would be fixed with my revised patch. Now I see it's just an
> optimization issue.
It triggers other problems later, most notably ICEs.
> Given the explanation above, does this request still hold?
Did you really look at the testcase? 2 *words* are put together and accessed
as bitfields, i.e. the whole structure, this is a no-no in my opinion.
--
Eric Botcazou