]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix typo in CUDA error message
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 21 Feb 2024 23:42:59 +0000 (00:42 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 16 May 2024 08:49:29 +0000 (10:49 +0200)
Fix typo in error message; semantics is unaffected.

gcc/ada/

* gnat_cuda.adb (Remove_CUDA_Device_Entities): Fix typo.

gcc/ada/gnat_cuda.adb

index 92576a4b397b482408252d7b7bc146a5ad4bdb76..b531c15d3806ca4868113da9a1a18c902e0713e3 100644 (file)
@@ -270,7 +270,7 @@ package body GNAT_CUDA is
                  and then Present (Corresponding_Stub (Parent (Bod)))
                then
                   Error_Msg_N
-                    ("CUDA_Device not suported on separate subprograms",
+                    ("CUDA_Device not supported on separate subprograms",
                      Corresponding_Stub (Parent (Bod)));
                else
                   Remove (Bod);