From: Sam James Date: Thu, 9 Oct 2025 03:27:02 +0000 (+0100) Subject: doc: grammar fix for -Wduplicate-decl-specifier X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ab8c4d7cb1ce68d05eeb0b66c831da91f248e10;p=thirdparty%2Fgcc.git doc: grammar fix for -Wduplicate-decl-specifier gcc/ChangeLog: * doc/invoke.texi (-Wduplicate-decl-specifier): Say 'a duplicate'. --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 19ee836b090..6751ff53381 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7191,7 +7191,7 @@ because the floating-point literal is a @code{double}. @opindex Wduplicate-decl-specifier @opindex Wno-duplicate-decl-specifier @item -Wduplicate-decl-specifier @r{(C and Objective-C only)} -Warn if a declaration has duplicate @code{const}, @code{volatile}, +Warn if a declaration has a duplicate @code{const}, @code{volatile}, @code{restrict} or @code{_Atomic} specifier. This warning is enabled by @option{-Wall}.