https://gcc.gnu.org/g:bc35098efbfb14cf17f0f79f5dfcb44fdf0975de

commit r15-552-gbc35098efbfb14cf17f0f79f5dfcb44fdf0975de
Author: Piotr Trojanek <troja...@adacore.com>
Date:   Thu Feb 22 00:42:59 2024 +0100

    ada: Fix typo in CUDA error message
    
    Fix typo in error message; semantics is unaffected.
    
    gcc/ada/
    
            * gnat_cuda.adb (Remove_CUDA_Device_Entities): Fix typo.

Diff:
---
 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 92576a4b397b..b531c15d3806 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);

Reply via email to