This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/58570] [4.9 Regression] wrong code for bitfields at -O2 and above
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Oct 2013 17:56:48 +0000
- Subject: [Bug middle-end/58570] [4.9 Regression] wrong code for bitfields at -O2 and above
- Auto-submitted: auto-generated
- References: <bug-58570-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58570
--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> there is one more thing to consider for your proposed patch,
> that is the damned -fstrict-volatile-bitfields:
>
> if strict_volatile_bitfields>0 and the BIT_FIELD access
> is _volatile_ it does not respect the BIT_FIELD_REPRESENTATIVE at all.
My patch as written doesn't use BIT_FIELD_REPRESENTATIVE so it isn't affected.