From: Piotr Trojanek <troja...@adacore.com>

Fix typo in error message; semantics is unaffected.

gcc/ada/

        * gnat_cuda.adb (Remove_CUDA_Device_Entities): Fix typo.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/gnat_cuda.adb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/gnat_cuda.adb b/gcc/ada/gnat_cuda.adb
index 92576a4b397..b531c15d380 100644
--- a/gcc/ada/gnat_cuda.adb
+++ b/gcc/ada/gnat_cuda.adb
@@ -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);
-- 
2.43.2

Reply via email to