]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
AVR: avr.cc - Fix a typo in a diagnostic.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 29 Jul 2024 16:02:58 +0000 (18:02 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Mon, 29 Jul 2024 16:06:12 +0000 (18:06 +0200)
gcc/
* config/avr/avr.cc (avr_set_current_function): Fix typo in
error message.

gcc/config/avr/avr.cc

index dffb7e056bec252e85d6e433f30313b382956e1f..7229aac747bd021979e2e93a5f58db05efcaa52e 100644 (file)
@@ -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)