From: msebor Date: Fri, 22 Jul 2016 16:16:17 +0000 (+0000) Subject: gcc/ChangeLog: X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f60bf3b0c426d469b5e65e1ad943e21ad42d957;p=thirdparty%2Fgcc.git gcc/ChangeLog: * doc/extend.texi (Compound Literals): Add '@' missed in last commit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238652 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index deeaac15b528..45554aebae62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-07-22 Martin Sebor + + * doc/extend.texi (Compound Literals): Add '@' missed in last commit. + 2016-07-22 Martin Sebor PR c/71560 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 5c822657cfbb..ad8898c44853 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.