From: Bernd Edlinger Date: Tue, 4 Feb 2014 15:18:34 +0000 (+0000) Subject: invoke.texi (fstrict-volatile-bitfields): Clarify current behavior. X-Git-Tag: releases/gcc-4.9.0~1100 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=229e56f91e19b4b7015139a6cbe5fc77cec2ebe1;p=thirdparty%2Fgcc.git invoke.texi (fstrict-volatile-bitfields): Clarify current behavior. 2014-02-04 Bernd Edlinger * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current behavior. From-SVN: r207473 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99a153bda842..9647593b9b22 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-02-04 Bernd Edlinger + + * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current + behavior. + 2014-02-04 Richard Biener PR lto/59723 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 89e80ac130ab..640c123b19c8 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -22463,6 +22463,10 @@ read or write that is correctly aligned for the target machine. In this case GCC falls back to generating multiple accesses rather than code that will fault or truncate the result at run time. +Note: Due to restrictions of the C/C++11 memory model, write accesses are +not allowed to touch non bit-field members. It is therefore recommended +to define all bits of the field's type as bit-field members. + The default value of this option is determined by the application binary interface for the target processor.