]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix a couple of glitches in GNAT-LLVM section of User's Guide
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 20 Apr 2026 13:09:31 +0000 (15:09 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 2 Jun 2026 08:42:29 +0000 (10:42 +0200)
gcc/ada/ChangeLog:

* doc/gnat_ugn/building_executable_programs_with_gnat.rst: Fix a
couple of glitches.
* gnat_ugn.texi: Regenerate.

gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
gcc/ada/gnat_ugn.texi

index 32c5d6efa71c99831253f647c6764ce7e9f1a4d4..c69b958804cf642c8c802984a2412e54681715fe 100644 (file)
@@ -8021,7 +8021,7 @@ is either an ``out`` parameter or the function return value, if any.
 The debug information reflects these transformations and not the original
 Ada source code.
 
-GNAT LLVM doesn't fully implement the :switch:`-fcheck-stack` switch.
+GNAT LLVM doesn't fully implement the :switch:`-fstack-check` switch.
 When you specify it, the code generated by GNAT LLVM tests for allocating
 overly-large items on the stack, but not all cases of stack overflow.  For
 example, if you have a very deep recursion where each call only uses a
@@ -8029,7 +8029,7 @@ small amount of stack and the total stack depth exceeds the amount of
 available stack, the program will be terminated by a signal instead of
 raising an Ada exception.
 
-GNAT LLVM doesn't support the ``Scalar_Storage_Order`` pragma except when
+GNAT LLVM doesn't support the ``Scalar_Storage_Order`` attribute except when
 it's used to confirm the chosen storage order. This is because this facility
 is provided by GCC but not by LLVM.
 
index 567caabd14e2d3c4d88cd1fce1f24fe9dda71710..6350a4a99ef9d77c6e6b2b018b5b3877da32246c 100644 (file)
@@ -17587,7 +17587,7 @@ is either an @code{out} parameter or the function return value, if any.
 The debug information reflects these transformations and not the original
 Ada source code.
 
-GNAT LLVM doesn’t fully implement the @code{-fcheck-stack} switch.
+GNAT LLVM doesn’t fully implement the @code{-fstack-check} switch.
 When you specify it, the code generated by GNAT LLVM tests for allocating
 overly-large items on the stack, but not all cases of stack overflow.  For
 example, if you have a very deep recursion where each call only uses a
@@ -17595,7 +17595,7 @@ small amount of stack and the total stack depth exceeds the amount of
 available stack, the program will be terminated by a signal instead of
 raising an Ada exception.
 
-GNAT LLVM doesn’t support the @code{Scalar_Storage_Order} pragma except when
+GNAT LLVM doesn’t support the @code{Scalar_Storage_Order} attribute except when
 it’s used to confirm the chosen storage order. This is because this facility
 is provided by GCC but not by LLVM.