@@ -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)
@@ -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
@@ -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 " &
From: Viljar Indus <indus@adacore.com> 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. Tested on x86_64-pc-linux-gnu, committed on master. --- .../gnat_ugn/building_executable_programs_with_gnat.rst | 6 +++--- gcc/ada/gnat_ugn.texi | 8 ++++---- gcc/ada/usage.adb | 2 ++ 3 files changed, 9 insertions(+), 7 deletions(-)