aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2007-12-19 17:26:20 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2007-12-19 17:26:20 +0100
commit482434dcf0bf6b659c2c392f851282d07373023e (patch)
treeb47d7f983cdafc95d62f34c16a09f919de7181e3
parentd71cdcc585d0b69c0e38c2628ade73b11e9062bc (diff)
downloadgcc-482434dcf0bf6b659c2c392f851282d07373023e.zip
gcc-482434dcf0bf6b659c2c392f851282d07373023e.tar.gz
gcc-482434dcf0bf6b659c2c392f851282d07373023e.tar.bz2
gnat_rm.texi, [...]: Update documentation of -gnatw.o Fix name of Wide_Wide_Latin_1/9 file names Add...
2007-12-19 Robert Dewar <dewar@adacore.com> * gnat_rm.texi, gnat_ugn.texi: Update documentation of -gnatw.o Fix name of Wide_Wide_Latin_1/9 file names Add documentation for Ada.Exceptions.Last_Chance_Handler (a-elchha.ads) Add missing documentation for Ada.Wide_[Wide_]Characters.Unicode Add missing documentation for Ada.Command_Line.Response_File Update list of warning letters for Warnings pragma Add documentation for pragma Unmodified From-SVN: r131086
-rw-r--r--gcc/ada/gnat_ugn.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 15a30c5..0c9c141 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -5039,7 +5039,9 @@ another.
@cindex @option{-gnatw.o} (@command{gcc})
This switch activates warnings for variables that are modified by using
them as actuals for a call to a procedure with an out mode formal, where
-the resulting assigned value is never read.
+the resulting assigned value is never read. It is applicable in the case
+where there is more than one out mode formal. If there is only one out
+mode formal, the waraning is issued by default (controlled by -gnatwu).
The warning is suppressed for volatile
variables and also for variables that are renamings of other variables
or for which an address clause is given.