[gcc(refs/users/guojiufu/heads/guojiufu-branch)] Fix a typo in comment.

Jiu Fu Guo guojiufu@gcc.gnu.org
Wed Mar 11 02:08:07 GMT 2020


https://gcc.gnu.org/g:fd136f018e6d64bff08b7a0243ba34911792547c

commit fd136f018e6d64bff08b7a0243ba34911792547c
Author: Bernd Edlinger <bernd.edlinger@hotmail.de>
Date:   Wed Feb 19 18:47:39 2020 +0100

    Fix a typo in comment.
    
    2020-02-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
    
            * collect2.c (maybe_run_lto_and_relink): Fix typo in
            comment.

Diff:
---
 gcc/ChangeLog  | 5 +++++
 gcc/collect2.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 757d05a2f29..f5876a3023e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+	* collect2.c (maybe_run_lto_and_relink): Fix typo in
+	comment.
+
 2020-02-19  Richard Sandiford  <richard.sandiford@arm.com>
 
 	PR tree-optimization/93767
diff --git a/gcc/collect2.c b/gcc/collect2.c
index f7d9f103ddc..f8a5ce45994 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -663,7 +663,7 @@ maybe_run_lto_and_relink (char **lto_ld_argv, char **object_lst,
 
 	/* signal handler may access uninitialized memory
 	   and delete whatever it points to, if lto_o_files
-	   is not allocatted with calloc.  */
+	   is not allocated with calloc.  */
 	lto_o_files = XCNEWVEC (char *, num_files + 1);
 	lto_o_files[num_files] = NULL;
 	start = XOBFINISH (&temporary_obstack, char *);


More information about the Gcc-cvs mailing list