From: Georg-Johann Lay Date: Mon, 29 Jul 2024 16:02:58 +0000 (+0200) Subject: AVR: avr.cc - Fix a typo in a diagnostic. X-Git-Tag: basepoints/gcc-16~7171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bc79863eb8483ab1a396e1d6131361a5195780f;p=thirdparty%2Fgcc.git AVR: avr.cc - Fix a typo in a diagnostic. gcc/ * config/avr/avr.cc (avr_set_current_function): Fix typo in error message. --- diff --git a/gcc/config/avr/avr.cc b/gcc/config/avr/avr.cc index dffb7e056be..7229aac747b 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 % argument", name); + inform (loc, "method %qs has an implicit % argument", name); } if (TREE_CODE (ret) != VOID_TYPE)