From 8e43612bca9614e75c96d80874609c1437223853 Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 17 Feb 2004 23:03:37 +0000 Subject: [PATCH] * c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77995 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/c-common.c | 2 +- gcc/cfghooks.c | 2 +- gcc/rtlanal.c | 2 +- gcc/varasm.c | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d8f8394..3dd2ff8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-17 Kazu Hirata + + * c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment + typos. + 2004-02-17 Jan Hubicka * i386.c (x86_prologue_using_move, x86_epilogue_using_move): Disable for P4. diff --git a/gcc/c-common.c b/gcc/c-common.c index 63ce3c7..2ebb915 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -5697,7 +5697,7 @@ c_estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data) *count += 10; break; } - /* Few special cases of expensive operations. This is usefull + /* Few special cases of expensive operations. This is useful to avoid inlining on functions having too many of these. */ case TRUNC_DIV_EXPR: case CEIL_DIV_EXPR: diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c index e256124..183d54e 100644 --- a/gcc/cfghooks.c +++ b/gcc/cfghooks.c @@ -320,7 +320,7 @@ split_block_after_labels (basic_block bb) return split_block (bb, NULL); } -/* Moves block BB immediatelly after block AFTER. Returns false if the +/* Moves block BB immediately after block AFTER. Returns false if the movement was impossible. */ bool diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 82a112c..c408521 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -3731,7 +3731,7 @@ hoist_insn_to_edge (rtx insn, edge e, rtx val, rtx new) abort (); /* Do not use emit_insn_on_edge as we want to preserve notes and similar - stuff. We also emit CALL_INSNS and firends. */ + stuff. We also emit CALL_INSNS and friends. */ if (e->insns == NULL_RTX) { start_sequence (); diff --git a/gcc/varasm.c b/gcc/varasm.c index cbcef0a..806224d 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1002,7 +1002,7 @@ notice_global_symbol (tree decl) || GET_CODE (DECL_RTL (decl)) != MEM) return; - /* We win when global object is found, but it is usefull to know about weak + /* We win when global object is found, but it is useful to know about weak symbol as well so we can produce nicer unique names. */ if (DECL_WEAK (decl) || DECL_ONE_ONLY (decl)) type = &weak_global_object_name; -- 2.7.4