aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/implement-c.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/doc/implement-c.texi')
-rw-r--r--gcc/doc/implement-c.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/implement-c.texi b/gcc/doc/implement-c.texi
index 692297b..d7433ba 100644
--- a/gcc/doc/implement-c.texi
+++ b/gcc/doc/implement-c.texi
@@ -576,6 +576,11 @@ are of scalar types, the expression is interpreted by GCC as a read of
the volatile object; in the other cases, the expression is only evaluated
for its side effects.
+When an object of an aggregate type, with the same size and alignment as a
+scalar type @code{S}, is the subject of a volatile access by an assignment
+expression or an atomic function, the access to it is performed as if the
+object's declared type were @code{volatile S}.
+
@end itemize
@node Declarators implementation