From: Kazu Hirata Date: Tue, 17 Feb 2004 23:03:37 +0000 (+0000) Subject: c-common.c, [...]: Fix comment typos. X-Git-Tag: releases/gcc-4.0.0~10054 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=321440fd61650045e452baefdc590043ff2e9e54;p=thirdparty%2Fgcc.git c-common.c, [...]: Fix comment typos. * c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment typos. From-SVN: r77995 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d8f839483687..3dd2ff8a1be4 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 63ce3c7176a7..2ebb915f1ec3 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 e25612424d70..183d54e38759 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 82a112c98460..c408521e4888 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 cbcef0a1e1d1..806224d5278c 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;