diff options
author | Martin Sebor <msebor@redhat.com> | 2016-07-22 16:16:17 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2016-07-22 10:16:17 -0600 |
commit | 9d04a3af4c6491536badf6bde9707c907e4d196b (patch) | |
tree | bb7ee0552ed21dac899a9599dbc8c044529f0408 /gcc | |
parent | e040f9bd4b37dfffcb5197c0b6307313846d9e6b (diff) | |
download | gcc-9d04a3af4c6491536badf6bde9707c907e4d196b.zip gcc-9d04a3af4c6491536badf6bde9707c907e4d196b.tar.gz gcc-9d04a3af4c6491536badf6bde9707c907e4d196b.tar.bz2 |
extend.texi (Compound Literals): Add '@' missed in last commit.
gcc/ChangeLog:
* doc/extend.texi (Compound Literals): Add '@' missed in last commit.
From-SVN: r238652
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index deeaac1..45554ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2016-07-22 Martin Sebor <msebor@redhat.com> + * doc/extend.texi (Compound Literals): Add '@' missed in last commit. + +2016-07-22 Martin Sebor <msebor@redhat.com> + PR c/71560 * doc/extend.texi (Compound Literals): Correct and clarify. (Cast to Union): Same. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 5c82265..ad8898c 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -1956,7 +1956,7 @@ because the lifetime of the array ends after the declaration of @code{foo}. As an optimization, G++ sometimes gives array compound literals longer lifetimes: when the array either appears outside a function or has a @code{const}-qualified type. If @code{foo} and its initializer had -elements of type @code{char *const} rather than code{char *}, or if +elements of type @code{char *const} rather than @code{char *}, or if @code{foo} were a global variable, the array would have static storage duration. But it is probably safest just to avoid the use of array compound literals in C++ code. |