From ded507ae42e7abd227c5af2adaa92104db1039b8 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Thu, 4 May 2017 23:54:22 +0000 Subject: [PATCH] builtins.c: Fix a trivial typo in a comment. gcc/ChangeLog: * builtins.c: Fix a trivial typo in a comment. From-SVN: r247623 --- gcc/ChangeLog | 2 ++ gcc/builtins.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae600c02c74..fbb90a70f85 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2017-05-04 Martin Sebor + * builtins.c: Fix a trivial typo in a comment. + PR middle-end/79234 * builtins.c (check_sizes): Adjust to handle reading past the end. Avoid printing excessive upper bound of ranges. Use %E to print diff --git a/gcc/builtins.c b/gcc/builtins.c index c6ce7d68acd..377cdcbd3f0 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -3047,7 +3047,7 @@ expand_builtin_memcpy_args (tree dest, tree src, tree len, rtx target, tree exp) MAXLEN is the user-supplied bound on the length of the source sequence (such as in strncat(d, s, N). It specifies the upper limit on the number of bytes to write. - SRC is the source string (such as in strcpy(d, s)) when the epxression + SRC is the source string (such as in strcpy(d, s)) when the expression EXP is a string function call (as opposed to a memory call like memcpy). As an exception, SRC can also be an integer denoting the precomputed size of the source string or object (for functions like memcpy). -- 2.30.2