This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix DECL_BIT_FIELD dependent on flag_strict_volatile_bitfields
- From: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Sandra Loosemore <sandra at codesourcery dot com>
- Date: Mon, 21 Oct 2013 14:32:12 +0200
- Subject: [PATCH] Fix DECL_BIT_FIELD dependent on flag_strict_volatile_bitfields
- Authentication-results: sourceware.org; auth=none
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.