Committed to ARM/embedded-4_6-branch

        Partly apply restrict volatile bitfield fix from bernd.
        2010-12-02  Bernd Schmidt  <bernds_...@t-online.de>

        * expr.c (store_field): Avoid a direct store if the mode is larger
        than the size of the bit field.
        * stor-layout.c (layout_decl): If flag_strict_volatile_bitfields,
        treat non-volatile bit fields like volatile ones.

testsuite:

        2011-11-23  Joey Ye  <joey...@arm.com>
        * g++.dg/abi/bitfield12.C: Add option
-fno-strict-volatile-bitfields.

Attachment: volatile-bitfields-embedded-branch.patch
Description: Binary data

Reply via email to