aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gnat_ugn.texi
diff options
context:
space:
mode:
authorViljar Indus <indus@adacore.com>2024-05-10 14:52:58 +0300
committerMarc Poulhiès <poulhies@adacore.com>2024-06-20 10:50:50 +0200
commit0f906fe2137bff551e46a07d1d6bcf84edf9eaed (patch)
tree1e6491568e0d4df403b1c4535e30206acee102fa /gcc/ada/gnat_ugn.texi
parent82531c69462ac65d2f12decbac1576267ef13448 (diff)
downloadgcc-0f906fe2137bff551e46a07d1d6bcf84edf9eaed.zip
gcc-0f906fe2137bff551e46a07d1d6bcf84edf9eaed.tar.gz
gcc-0f906fe2137bff551e46a07d1d6bcf84edf9eaed.tar.bz2
ada: Convert -gnatw.n messages to warnings
Previously the messages produced by this warning switch were info messages that were suppressed with the same methods as regular warnings. Since info messages are now separated as a completely different class of messages then these messages should be converted back to warnings in order for the previous pragma based suppression methods to work. gcc/ada/ * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Update documentation for -gnatw.n switch. * exp_util.adb: Convert info messages into warnings. * gnat_ugn.texi: Regenerate.
Diffstat (limited to 'gcc/ada/gnat_ugn.texi')
-rw-r--r--gcc/ada/gnat_ugn.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index fe83913..95e2140 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -11757,11 +11757,11 @@ use of @code{-gnatg}.
@item @code{-gnatw.n}
-`Activate info messages on atomic synchronization.'
+`Activate warnings on atomic synchronization.'
-This switch activates info messages when an access to an atomic variable
+This switch activates warnings when an access to an atomic variable
requires the generation of atomic synchronization code. These
-info messages are off by default.
+warnings are off by default.
@end table
@geindex -gnatw.N (gcc)
@@ -11771,12 +11771,12 @@ info messages are off by default.
@item @code{-gnatw.N}
-`Suppress info messages on atomic synchronization.'
+`Suppress warnings on atomic synchronization.'
@geindex Atomic Synchronization
@geindex warnings
-This switch suppresses info messages when an access to an atomic variable
+This switch suppresses warnings when an access to an atomic variable
requires the generation of atomic synchronization code.
@end table