aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/doc/gnat_ugn
diff options
context:
space:
mode:
authorViljar Indus <indus@adacore.com>2024-05-07 16:35:30 +0300
committerMarc Poulhiès <poulhies@adacore.com>2024-06-20 10:50:50 +0200
commit82531c69462ac65d2f12decbac1576267ef13448 (patch)
tree5fdbbfaab2c09cdb2ae3ce359567894541d79c87 /gcc/ada/doc/gnat_ugn
parentd1c07598fad36218809907312f5c3d247b0413aa (diff)
downloadgcc-82531c69462ac65d2f12decbac1576267ef13448.zip
gcc-82531c69462ac65d2f12decbac1576267ef13448.tar.gz
gcc-82531c69462ac65d2f12decbac1576267ef13448.tar.bz2
ada: Add switch for suppressing info messages
Add a separate switch -gnatis to suppress info messages separately from warning messages that are controlled by -gnatws. gcc/ada/ * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Add entry for -gnatis. * errout.adb (Error_Msg_Internal): Stop printing info messages if -gnatis was used. * opt.ads: Add Info_Suppressed flag to track whether info messages should be suppressed. * switch-c.adb: Add parsing for -gnatis. * gnat_ugn.texi: Regenerate.
Diffstat (limited to 'gcc/ada/doc/gnat_ugn')
-rw-r--r--gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
index 2f63d02..8fbb1ee 100644
--- a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
+++ b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
@@ -4372,6 +4372,21 @@ When no switch :switch:`-gnatw` is used, this is equivalent to:
.. _Debugging_and_Assertion_Control:
+Info message Control
+--------------------
+
+In addition to the warning messages, the compiler can also generate info
+messages. In order to control the generation of these messages, the following
+switch is provided:
+
+:switch:`-gnatis`
+ *Suppress all info messages.*
+
+ This switch completely suppresses the output of all info messages from the
+ GNAT front end.
+
+
+
Debugging and Assertion Control
-------------------------------