[Bug middle-end/58570] [4.9 Regression] wrong code for bitfields at -O2 and above

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 8 17:56:00 GMT 2013


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.



More information about the Gcc-bugs mailing list