Oops...
> Hello, > > this patch removes the dependency of DECL_BIT_FIELD on the > flag_strict_volatile_bitfields, > and makes get_inner_reference not returning a different mode for non-volatile > members > if flag_strict-volatile_bitfields is used. > > This fixes the regression on the SH-target, due to the patch "Fix asymmetric > volatile handling > in optimize_bit_field_compare": > http://gcc.gnu.org/ml/gcc-patches/2013-10/msg01629.html > > Manually verified the mentioned test cases on a SH-cross-compiler. > > Boot-strapped and regression-tested on x86_64-linux-gnu. > > Ok for trunk? > > Bernd.
2013-10-21 Bernd Edlinger <bernd.edlin...@hotmail.de> Fix DECL_BIT_FIELD depencency on flag_strict_volatile_bitfields and get_inner_reference returning different pmode for non-volatile bit-field members dependent on flag_strict_volatile_bitfields. * stor-layout.c (layout_decl): Remove special handling of flag_strict_volatile_bitfields. * expr.c (get_inner_reference): Don't use DECL_BIT_FIELD if flag_strict_volatile_bitfields > 0 and TREE_THIS_VOLATILE.
patch-stor-layout.diff
Description: Binary data