From 97989a2220c876113ccdfcad5ed247c8efbe1cf0 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Thu, 25 Feb 2021 19:12:52 -0500 Subject: [PATCH] builtins: Fix typos in warn_for_access [PR99278] gcc/ChangeLog: * builtins.c (warn_for_access): Fix typos. --- gcc/builtins.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/builtins.c b/gcc/builtins.c index 42150ce..d804b0e 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -4282,7 +4282,7 @@ warn_for_access (location_t loc, tree func, tree exp, int opt, tree range[2], ? warning_n (loc, OPT_Wstringop_overread, tree_to_uhwi (range[0]), (maybe - ? G_("%K%qD may reade %E byte from a region " + ? G_("%K%qD may read %E byte from a region " "of size %E") : G_("%K%qD reading %E byte from a region " "of size %E")), @@ -4352,7 +4352,7 @@ warn_for_access (location_t loc, tree func, tree exp, int opt, tree range[2], warned = (func ? warning_n (loc, OPT_Wstringop_overread, tree_to_uhwi (range[0]), - "%K%qD epecting %E byte in a region of size %E", + "%K%qD expecting %E byte in a region of size %E", "%K%qD expecting %E bytes in a region of size %E", exp, func, range[0], size) : warning_n (loc, OPT_Wstringop_overread, @@ -4380,7 +4380,7 @@ warn_for_access (location_t loc, tree func, tree exp, int opt, tree range[2], "a region of size %E", exp, func, range[0], range[1], size) : warning_at (loc, OPT_Wstringop_overread, - "%Kexpectting between %E and %E bytes in " + "%Kexpecting between %E and %E bytes in " "a region of size %E", exp, range[0], range[1], size)); -- 2.7.4