From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1734) id 349CB3858402; Fri, 28 Jan 2022 20:59:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 349CB3858402 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Marek Polacek To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-6927] doc: Update -Wbidi-chars documentation X-Act-Checkin: gcc X-Git-Author: Marek Polacek X-Git-Refname: refs/heads/trunk X-Git-Oldrev: e971990cbda091b4caf5e1a5bded5121068934e4 X-Git-Newrev: 5d8b422818714737bd61d1667461efce96687073 Message-Id: <20220128205903.349CB3858402@sourceware.org> Date: Fri, 28 Jan 2022 20:59:03 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2022 20:59:03 -0000 https://gcc.gnu.org/g:5d8b422818714737bd61d1667461efce96687073 commit r12-6927-g5d8b422818714737bd61d1667461efce96687073 Author: Marek Polacek Date: Fri Jan 28 15:56:42 2022 -0500 doc: Update -Wbidi-chars documentation gcc/ChangeLog: * doc/invoke.texi: Update -Wbidi-chars documentation. Diff: --- gcc/doc/invoke.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 9e588db4fce..cfd415110cd 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7822,7 +7822,9 @@ characters. By default, this warning does not warn about UCNs. It is, however, possible to turn on such checking by using @option{-Wbidi-chars=unpaired,ucn} or -@option{-Wbidi-chars=any,ucn}. +@option{-Wbidi-chars=any,ucn}. Using @option{-Wbidi-chars=ucn} is valid, +and is equivalent to @option{-Wbidi-chars=unpaired,ucn}, if no previous +@option{-Wbidi-chars=any} was specified. @item -Wbool-compare @opindex Wno-bool-compare