aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorViljar Indus <indus@adacore.com>2024-08-21 11:57:58 +0300
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-09-02 10:22:50 +0200
commit1c9a6d8203b6cbc8500a28acdd9fbb23546a85dc (patch)
tree0ecdb2c9ac48afd155652d7e0d7f9354b8388530 /gcc
parent2df253f35eec84a7dd7d4b0eaf4b1c052177044c (diff)
downloadgcc-1c9a6d8203b6cbc8500a28acdd9fbb23546a85dc.zip
gcc-1c9a6d8203b6cbc8500a28acdd9fbb23546a85dc.tar.gz
gcc-1c9a6d8203b6cbc8500a28acdd9fbb23546a85dc.tar.bz2
ada: Create usage entry for -gnatw_l
gcc/ada/ * doc/gnat_ugn/building_executable_programs_with_gnat.rst: update documentation for the -gnatw_l switch. * usage.adb: Add -gnatw_l entry. * gnat_ugn.texi: Regenerate.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst6
-rw-r--r--gcc/ada/gnat_ugn.texi8
-rw-r--r--gcc/ada/usage.adb2
3 files changed, 9 insertions, 7 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 4576009..d8501b2 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
@@ -3433,7 +3433,7 @@ of the pragma in the :title:`GNAT_Reference_manual`).
.. index:: -gnatw_l (gcc)
:switch:`-gnatw_l`
- *Activate warnings on inheritely limited types.*
+ *Activate warnings on implicitly limited types.*
This switch causes the compiler trigger warnings on record types that do not
have a limited keyword but contain a component that is a limited type.
@@ -3442,9 +3442,9 @@ of the pragma in the :title:`GNAT_Reference_manual`).
.. index:: -gnatw_L (gcc)
:switch:`-gnatw_L`
- *Suppress warnings on inheritely limited types.*
+ *Suppress warnings on implicitly limited types.*
- This switch suppresses warnings on inheritely limited types.
+ This switch suppresses warnings on implicitly limited types.
.. index:: -gnatwm (gcc)
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 375f39f..e59ee9f 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -11678,7 +11678,7 @@ This switch suppresses listing of inherited aspects.
@item @code{-gnatw_l}
-`Activate warnings on inheritely limited types.'
+`Activate warnings on implicitly limited types.'
This switch causes the compiler trigger warnings on record types that do not
have a limited keyword but contain a component that is a limited type.
@@ -11691,9 +11691,9 @@ have a limited keyword but contain a component that is a limited type.
@item @code{-gnatw_L}
-`Suppress warnings on inheritely limited types.'
+`Suppress warnings on implicitly limited types.'
-This switch suppresses warnings on inheritely limited types.
+This switch suppresses warnings on implicitly limited types.
@end table
@geindex -gnatwm (gcc)
@@ -29695,8 +29695,8 @@ to permit their use in free software.
@printindex ge
-@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{ }
@anchor{d1}@w{ }
+@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{ }
@c %**end of body
@bye
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb
index 5b77437..38a82be 100644
--- a/gcc/ada/usage.adb
+++ b/gcc/ada/usage.adb
@@ -538,6 +538,8 @@ begin
Write_Line (" L* turn off warnings for elaboration problems");
Write_Line (" .l turn on info messages for inherited aspects");
Write_Line (" .L* turn off info messages for inherited aspects");
+ Write_Line (" _l turn on warnings for implicitly limited types");
+ Write_Line (" _L* turn off warnings for implicitly limited types");
Write_Line (" m+ turn on warnings for variable assigned " &
"but not read");
Write_Line (" M* turn off warnings for variable assigned " &