From fa10beec52789c84fe0c22a16fe73c895b275b1e Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Fri, 6 Jun 2008 05:42:00 +0000 Subject: cgraph.c: Fix typos in comments. gcc/ * cgraph.c: Fix typos in comments. (cgraph_availability_names): Fix string typo. * fold-const.c: Fix typos in comments. (fold_binary): Fix typo in warning. * genautomata.c: Fix typos in comments. (check_presence_pattern_sets): Fix typo in local variable. (output_description): Fix typo in output. * ggc-zone.c (ggc_pch_finish): Fix typo in error message. * hwint.h: Likewise. * matrix-reorg.c (check_allocation_function): Likewise. * omega.c (smooth_weird_equations): Likewise. * auto-inc-dec.c: Fix typos in comments. * bb-reorder.c: Likewise. * builtins.c: Likewise. * c-common.c: Likewise. * c-cppbuiltin.c: Likewise. * c-parser.c: Likewise. * c-pretty-print.c: Likewise. * cfgcleanup.c: Likewise. * cfgexpand.c: Likewise. * cfghooks.c: Likewise. * cfglayout.c: Likewise. * cfgloopmanip.c: Likewise. * cgraphunit.c: Likewise. * coverage.c: Likewise. * dbxout.c: Likewise. * df-byte-scan.c: Likewise. * df-core.c: Likewise. * df-problems.c: Likewise. * df-scan.c: Likewise. * dfp.c: Likewise. * dominance.c: Likewise. * domwalk.c: Likewise. * dse.c: Likewise. * dwarf2out.c: Likewise. * emit-rtl.c: Likewise. * et-forest.c: Likewise. * function.c: Likewise. * function.h: Likewise. * gcc.c: Likewise. * gcov-io.c: Likewise. * gcov.c: Likewise. * gcse.c: Likewise. * genattrtab.c: Likewise. * ggc-page.c: Likewise. * gimplify.c: Likewise. * gthr-lynx.h: Likewise. * haifa-sched.c: Likewise. * ipa-cp.c: Likewise. * ipa-inline.c: Likewise. * ipa-prop.h: Likewise. * ipa-pure-const.c: Likewise. * ipa-struct-reorg.c: Likewise. * ipa-struct-reorg.h: Likewise. * ipa-type-escape.c: Likewise. * ipa.c: Likewise. * loop-doloop.c: Likewise. * mips-tfile.c: Likewise. * mkmap-flat.awk: Likewise. * mkmap-symver.awk: Likewise. * modulo-sched.c: Likewise. * omp-low.c: Likewise. * optabs.c: Likewise. * optabs.h: Likewise. * opts.c: Likewise. * passes.c: Likewise. * postreload-gcse.c: Likewise. * postreload.c: Likewise. * predict.c: Likewise. * pretty-print.h: Likewise. * profile.c: Likewise. * protoize.c: Likewise. * ra-conflict.c: Likewise. * real.c: Likewise. * recog.c: Likewise. * regclass.c: Likewise. * regs.h: Likewise. * reload.c: Likewise. * rtl-error.c: Likewise. * rtlanal.c: Likewise. * scan.h: Likewise. * sched-rgn.c: Likewise. * see.c: Likewise. * stmt.c: Likewise. * target.h: Likewise. * tree-dfa.c: Likewise. * tree-eh.c: Likewise. * tree-flow-inline.h: Likewise. * tree-inline.c: Likewise. * tree-into-ssa.c: Likewise. * tree-loop-distribution.c: Likewise. * tree-nested.c: Likewise. * tree-parloops.c: Likewise. * tree-pass.h: Likewise. * tree-pretty-print.c: Likewise. * tree-profile.c: Likewise. * tree-scalar-evolution.c: Likewise. * tree-sra.c: Likewise. * tree-ssa-alias-warnings.c: Likewise. * tree-ssa-ccp.c: Likewise. * tree-ssa-coalesce.c: Likewise. * tree-ssa-dom.c: Likewise. * tree-ssa-dse.c: Likewise. * tree-ssa-forwprop.c: Likewise. * tree-ssa-live.c: Likewise. * tree-ssa-live.h: Likewise. * tree-ssa-loop-im.c: Likewise. * tree-ssa-loop-ivopts.c: Likewise. * tree-ssa-loop-niter.c: Likewise. * tree-ssa-loop-prefetch.c: Likewise. * tree-ssa-phiopt.c: Likewise. * tree-ssa-phiprop.c: Likewise. * tree-ssa-sccvn.c: Likewise. * tree-ssa-ter.c: Likewise. * tree-ssa-threadupdate.c: Likewise. * tree-ssa.c: Likewise. * tree-vect-analyze.c: Likewise. * tree-vect-transform.c: Likewise. * tree-vectorizer.c: Likewise. * tree-vn.c: Likewise. * tree-vrp.c: Likewise. * tree.c: Likewise. * tree.def: Likewise. * tree.h: Likewise. * unwind-dw2-fde.c: Likewise. * unwind.inc: Likewise. * value-prof.c: Likewise. * vmsdbgout.c: Likewise. From-SVN: r136425 --- gcc/ipa-struct-reorg.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'gcc/ipa-struct-reorg.c') diff --git a/gcc/ipa-struct-reorg.c b/gcc/ipa-struct-reorg.c index d0d1c93..908681d 100644 --- a/gcc/ipa-struct-reorg.c +++ b/gcc/ipa-struct-reorg.c @@ -1,5 +1,5 @@ /* Struct-reorg optimization. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2008 Free Software Foundation, Inc. Contributed by Olga Golovanevsky (Initial version of this code was developed by Caroline Tice and Mostafa Hagog.) @@ -309,7 +309,7 @@ is_result_of_mult (tree arg, tree *num, tree struct_size) { tree size_def_stmt = SSA_NAME_DEF_STMT (arg); - /* If allocation statementt was of the form + /* If the allocation statement was of the form D.2229_10 = (D.2228_9); then size_def_stmt can be D.2228_9 = num.3_8 * 8; */ @@ -406,7 +406,7 @@ decompose_indirect_ref_acc (tree str_decl, struct field_access_site *acc) /* This function checks whether the access ACC of structure type STR - is of the form suitable for tranformation. If yes, it returns true. + is of the form suitable for transformation. If yes, it returns true. False otherwise. */ static bool @@ -435,7 +435,7 @@ make_field_acc_node (void) } /* This function returns the structure field access, defined by STMT, - if it is aready in hashtable of function accesses F_ACCS. */ + if it is already in hashtable of function accesses F_ACCS. */ static struct field_access_site * is_in_field_accs (tree stmt, htab_t f_accs) @@ -538,7 +538,7 @@ finalize_new_vars_creation (void **slot, void *data ATTRIBUTE_UNUSED) return 1; } -/* This funciton updates statements in STMT_LIST with BB info. */ +/* This function updates statements in STMT_LIST with BB info. */ static void add_bb_info (basic_block bb, tree stmt_list) @@ -587,7 +587,7 @@ is_in_new_vars_htab (tree decl, htab_t new_vars_htab) htab_hash_pointer (decl)); } -/* Given original varaiable ORIG_VAR, this function returns +/* Given original variable ORIG_VAR, this function returns new variable corresponding to it of NEW_TYPE type. */ static tree @@ -1616,7 +1616,7 @@ is_equal_types (tree type1, tree type2) case ENUMERAL_TYPE: { tree field1; - /* Compare fields of struture. */ + /* Compare fields of structure. */ for (field1 = TYPE_FIELDS (type1); field1; field1 = TREE_CHAIN (field1)) { @@ -1760,7 +1760,7 @@ create_new_malloc (tree malloc_stmt, tree new_type, tree *new_stmts, tree num) /* This function returns a tree representing the number of instances of structure STR_DECL allocated - by allocation STMT. If new statments are generated, + by allocation STMT. If new statements are generated, they are filled into NEW_STMTS_P. */ static tree @@ -2074,7 +2074,7 @@ dump_acc (void **slot, void *data ATTRIBUTE_UNUSED) return 1; } -/* This function frees memory allocated for strcuture clusters, +/* This function frees memory allocated for structure clusters, starting from CLUSTER. */ static void @@ -2402,7 +2402,7 @@ remove_structure (unsigned i) } /* Currently we support only EQ_EXPR or NE_EXPR conditions. - COND_STNT is a condition statement to check. */ + COND_STMT is a condition statement to check. */ static bool is_safe_cond_expr (tree cond_stmt) @@ -2861,7 +2861,7 @@ check_bitfields (d_str str, VEC (tree, heap) **unsuitable_types) } /* This function adds to UNSUITABLE_TYPES those types that escape - due to results of ipa-type-escpae analysis. See ipa-type-escpae.[c,h]. */ + due to results of ipa-type-escape analysis. See ipa-type-escape.[c,h]. */ static void exclude_escaping_types_1 (VEC (tree, heap) **unsuitable_types) @@ -3158,7 +3158,7 @@ exclude_alloc_and_field_accs_1 (d_str str, struct cgraph_node *node) htab_traverse (dt.str->accs, exclude_from_accs, &dt); } -/* Collect accesses to the structure types that apear in basic bloack BB. */ +/* Collect accesses to the structure types that appear in basic block BB. */ static void collect_accesses_in_bb (basic_block bb) @@ -3181,8 +3181,8 @@ collect_accesses_in_bb (basic_block bb) } } -/* This function generates cluster substructure that cointains FIELDS. - The cluster added to the set of clusters of the structure SRT. */ +/* This function generates cluster substructure that contains FIELDS. + The cluster added to the set of clusters of the structure STR. */ static void gen_cluster (sbitmap fields, d_str str) -- cgit v1.1