aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2022-01-28 15:56:42 -0500
committerMarek Polacek <polacek@redhat.com>2022-01-28 15:58:41 -0500
commit5d8b422818714737bd61d1667461efce96687073 (patch)
tree3c032e14e97b680a634f8048bfc5532017aabecd
parente971990cbda091b4caf5e1a5bded5121068934e4 (diff)
downloadgcc-5d8b422818714737bd61d1667461efce96687073.zip
gcc-5d8b422818714737bd61d1667461efce96687073.tar.gz
gcc-5d8b422818714737bd61d1667461efce96687073.tar.bz2
doc: Update -Wbidi-chars documentation
gcc/ChangeLog: * doc/invoke.texi: Update -Wbidi-chars documentation.
-rw-r--r--gcc/doc/invoke.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 9e588db..cfd4151 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