gnat_ugn.texi: Document compiler switch -gnateG
authorVincent Celier <celier@adacore.com>
Wed, 6 Aug 2008 08:32:00 +0000 (10:32 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Aug 2008 08:32:00 +0000 (10:32 +0200)
2008-08-06  Vincent Celier  <celier@adacore.com>

* gnat_ugn.texi: Document compiler switch -gnateG

From-SVN: r138770

gcc/ada/gnat_ugn.texi

index a0da8a4..b86ed98 100644 (file)
@@ -3904,6 +3904,10 @@ Defines a symbol, associated with @var{value}, for preprocessing.
 @cindex @option{-gnatef} (@command{gcc})
 Display full source path name in brief error messages.
 
+@item -gnateG
+@cindex @option{-gnateG} (@command{gcc})
+Save result of preprocessing in a text file.
+
 @item -gnatem=@var{path}
 @cindex @option{-gnatem} (@command{gcc})
 Specify a mapping file
@@ -7202,6 +7206,11 @@ symbol with the same name either in a definition file or specified with a
 @noindent
 This switch is similar to switch @option{^-D^/ASSOCIATE^} of @code{gnatprep}.
 
+@item -gnateG
+When integrated preprocessing is performed and the preprocessor modifies
+the source text, write the result of this preprocessing into a file
+<source>^.prep^_prep^.
+
 @end table
 
 @node Code Generation Control