diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2013-12-11 16:59:24 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2013-12-11 16:59:24 +0000 |
commit | 6f4e9cf84204e690b7c32060f8eb7d978bfcf2ca (patch) | |
tree | 292e9afae89e8ec005a9bb23606e011988bfbc04 /gcc/go/go-lang.c | |
parent | f5d4f18c5332e5235b53f4b9496ef4e498e92f1f (diff) | |
download | gcc-6f4e9cf84204e690b7c32060f8eb7d978bfcf2ca.zip gcc-6f4e9cf84204e690b7c32060f8eb7d978bfcf2ca.tar.gz gcc-6f4e9cf84204e690b7c32060f8eb7d978bfcf2ca.tar.bz2 |
re PR middle-end/23623 (volatile keyword changes bitfield access size from 32bit to 8bit)
2013-12-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
Sandra Loosemore <sandra@codesourcery.com>
PR middle-end/23623
PR middle-end/48784
PR middle-end/56341
PR middle-end/56997
* expmed.c (strict_volatile_bitfield_p): Add bitregion_start
and bitregion_end parameters. Test for compliance with C++
memory model.
(store_bit_field): Adjust call to strict_volatile_bitfield_p.
Add fallback logic for cases where -fstrict-volatile-bitfields
is supposed to apply, but cannot.
(extract_bit_field): Likewise. Use narrow_bit_field_mem and
extract_fixed_bit_field_1 to do the extraction.
(extract_fixed_bit_field): Revert to previous mode selection algorithm.
Call extract_fixed_bit_field_1 to do the real work.
(extract_fixed_bit_field_1): New function.
testsuite:
* gcc.dg/pr23623.c: Update to test interaction with C++
memory model.
Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
From-SVN: r205897
Diffstat (limited to 'gcc/go/go-lang.c')
0 files changed, 0 insertions, 0 deletions