https://gcc.gnu.org/g:3bc79863eb8483ab1a396e1d6131361a5195780f

commit r15-2382-g3bc79863eb8483ab1a396e1d6131361a5195780f
Author: Georg-Johann Lay <a...@gjlay.de>
Date:   Mon Jul 29 18:02:58 2024 +0200

    AVR: avr.cc - Fix a typo in a diagnostic.
    
    gcc/
            * config/avr/avr.cc (avr_set_current_function): Fix typo in
            error message.

Diff:
---
 gcc/config/avr/avr.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/avr/avr.cc b/gcc/config/avr/avr.cc
index dffb7e056bec..7229aac747bd 100644
--- a/gcc/config/avr/avr.cc
+++ b/gcc/config/avr/avr.cc
@@ -1540,7 +1540,7 @@ avr_set_current_function (tree decl)
        {
          error_at (loc, "%qs function cannot have arguments", isr);
          if (TREE_CODE (TREE_TYPE (decl)) == METHOD_TYPE)
-           inform (loc, "method %qs has an inplicit %<this%> argument", name);
+           inform (loc, "method %qs has an implicit %<this%> argument", name);
        }
 
       if (TREE_CODE (ret) != VOID_TYPE)

Reply via email to