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]

[PATCH] Fix DECL_BIT_FIELD dependent on flag_strict_volatile_bitfields


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. 		 	   		  

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