aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2014-02-04 15:18:34 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2014-02-04 15:18:34 +0000
commit229e56f91e19b4b7015139a6cbe5fc77cec2ebe1 (patch)
treec06f75b512289f517e6c6f3c8b7bd5c7314d9a9a
parentf34ffd403d7d19b88d7d734a589260695c57756f (diff)
downloadgcc-229e56f91e19b4b7015139a6cbe5fc77cec2ebe1.zip
gcc-229e56f91e19b4b7015139a6cbe5fc77cec2ebe1.tar.gz
gcc-229e56f91e19b4b7015139a6cbe5fc77cec2ebe1.tar.bz2
invoke.texi (fstrict-volatile-bitfields): Clarify current behavior.
2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de> * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current behavior. From-SVN: r207473
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 99a153b..9647593 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current
+ behavior.
+
2014-02-04 Richard Biener <rguenther@suse.de>
PR lto/59723
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 89e80ac..640c123 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.