aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2024-07-29 18:02:58 +0200
committerGeorg-Johann Lay <avr@gjlay.de>2024-07-29 18:06:12 +0200
commit3bc79863eb8483ab1a396e1d6131361a5195780f (patch)
treef3b788ca55a95b510790cf275ba2d95abbfa6632
parent8d3325708c107d20d41f0bddb0ad161c18934561 (diff)
downloadgcc-3bc79863eb8483ab1a396e1d6131361a5195780f.zip
gcc-3bc79863eb8483ab1a396e1d6131361a5195780f.tar.gz
gcc-3bc79863eb8483ab1a396e1d6131361a5195780f.tar.bz2
AVR: avr.cc - Fix a typo in a diagnostic.
gcc/ * config/avr/avr.cc (avr_set_current_function): Fix typo in error message.
-rw-r--r--gcc/config/avr/avr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/avr/avr.cc b/gcc/config/avr/avr.cc
index dffb7e0..7229aac 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)