From: Robert Dewar Date: Wed, 19 Dec 2007 16:26:20 +0000 (+0100) Subject: gnat_rm.texi, [...]: Update documentation of -gnatw.o Fix name of Wide_Wide_Latin_1... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=482434dcf0bf6b659c2c392f851282d07373023e;p=gcc.git gnat_rm.texi, [...]: Update documentation of -gnatw.o Fix name of Wide_Wide_Latin_1/9 file names Add... 2007-12-19 Robert Dewar * 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 --- diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index 15a30c5d355..0c9c1411824 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.