diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/c-common.c | 2 | ||||
-rw-r--r-- | gcc/c-opts.c | 4 | ||||
-rw-r--r-- | gcc/combine.c | 3 | ||||
-rw-r--r-- | gcc/cse.c | 2 | ||||
-rw-r--r-- | gcc/dojump.c | 2 | ||||
-rw-r--r-- | gcc/gimplify.c | 2 | ||||
-rw-r--r-- | gcc/tree-dfa.c | 2 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-ivopts.c | 2 | ||||
-rw-r--r-- | gcc/tree-ssa-phiopt.c | 2 | ||||
-rw-r--r-- | gcc/tree-ssa-pre.c | 4 | ||||
-rw-r--r-- | gcc/tree-ssa-sink.c | 6 | ||||
-rw-r--r-- | gcc/tree-vect-analyze.c | 2 | ||||
-rw-r--r-- | gcc/tree.def | 6 | ||||
-rw-r--r-- | gcc/tree.h | 2 |
15 files changed, 28 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a89869d..40d702c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2005-03-08 Kazu Hirata <kazu@cs.umass.edu> + + * c-common.c, c-opts.c, combine.c, cse.c, dojump.c, + gimplify.c, tree-dfa.c, tree-ssa-loop-ivopts.c, + tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa-sink.c, + tree-vect-analyze.c, tree.def, tree.h: Fix comment formatting. + 2005-03-08 Alexey Neyman <alex.neyman@auriga.ru> PR c/14411 diff --git a/gcc/c-common.c b/gcc/c-common.c index 313af75..e658cf1 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -3272,7 +3272,7 @@ c_common_nodes_and_builtins (void) /* Look up the function in built_in_decls that corresponds to DECL and set ASMSPEC as its user assembler name. DECL must be a - function decl that declares a builtin. */ + function decl that declares a builtin. */ void set_builtin_user_assembler_name (tree decl, const char *asmspec) diff --git a/gcc/c-opts.c b/gcc/c-opts.c index d2abeb5..128c83a 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -1097,7 +1097,7 @@ c_common_parse_file (int set_yydebug) c_parse_file (); finish_file (); pop_file_scope (); - /* And end the main input file. */ + /* And end the main input file. */ (*debug_hooks->end_source_file) (0); if (++i >= num_in_fnames) break; @@ -1229,7 +1229,7 @@ sanitize_cpp_opts (void) /* Disable -dD, -dN and -dI if normal output is suppressed. Allow -dM since at least glibc relies on -M -dM to work. */ - /* Also, flag_no_output implies flag_no_line_commands, always. */ + /* Also, flag_no_output implies flag_no_line_commands, always. */ if (flag_no_output) { if (flag_dump_macros != 'M') diff --git a/gcc/combine.c b/gcc/combine.c index 48d7020..0fc1f5f 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -9434,7 +9434,8 @@ gen_lowpart_for_combine (enum machine_mode omode, rtx x) if (WORDS_BIG_ENDIAN) offset = MAX (isize, UNITS_PER_WORD) - MAX (osize, UNITS_PER_WORD); - /* Adjust the address so that the address-after-the-data is unchanged. */ + /* Adjust the address so that the address-after-the-data is + unchanged. */ if (BYTES_BIG_ENDIAN) offset -= MIN (UNITS_PER_WORD, osize) - MIN (UNITS_PER_WORD, isize); @@ -2987,7 +2987,7 @@ find_best_addr (rtx insn, rtx *loc, enum machine_mode mode) int new_cost; /* Get the canonical version of the address so we can accept - more. */ + more. */ new = canon_for_address (new); new_cost = address_cost (new, mode); diff --git a/gcc/dojump.c b/gcc/dojump.c index c10ea39..3c9d88a 100644 --- a/gcc/dojump.c +++ b/gcc/dojump.c @@ -926,7 +926,7 @@ do_compare_and_jump (tree exp, enum rtx_code signed_code, be reliably compared, then canonicalize them. Only do this if *both* sides of the comparison are function pointers. If one side isn't, we want a noncanonicalized comparison. See PR - middle-end/17564. */ + middle-end/17564. */ if (HAVE_canonicalize_funcptr_for_compare && TREE_CODE (TREE_TYPE (TREE_OPERAND (exp, 0))) == POINTER_TYPE && TREE_CODE (TREE_TYPE (TREE_TYPE (TREE_OPERAND (exp, 0)))) diff --git a/gcc/gimplify.c b/gcc/gimplify.c index ba8e707..93724a9 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -4256,7 +4256,7 @@ gimplify_type_sizes (tree type, tree *list_p) can't easily test for. We could pass TYPE down to gimplify_one_sizepos and test there, but it doesn't seem worth it. */ - /* We first do the main variant, then copy into any other variants. */ + /* We first do the main variant, then copy into any other variants. */ type = TYPE_MAIN_VARIANT (type); switch (TREE_CODE (type)) diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index 641bb1b..630ee4c 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@ -907,7 +907,7 @@ add_referenced_var (tree var, struct walk_state *walk_state) && !DECL_EXTERNAL (var) /* It's not necessary to walk the initial value of non-constant public variables because it cannot be propagated by the - optimizers. */ + optimizers. */ && (!TREE_PUBLIC (var) || !TREE_CONSTANT (var))) walk_tree (&DECL_INITIAL (var), find_vars_r, walk_state, 0); } diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 4431461..98d3a4c 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -4017,7 +4017,7 @@ iv_ca_delta_add (struct iv_use *use, struct cost_pair *old_cp, } /* Joins two lists of changes L1 and L2. Destructive -- old lists - are rewritten. */ + are rewritten. */ static struct iv_ca_delta * iv_ca_delta_join (struct iv_ca_delta *l1, struct iv_ca_delta *l2) diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index bbdd732..8408295 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -492,7 +492,7 @@ value_replacement (basic_block cond_bb, basic_block middle_bb, replacement. Return true if the replacement is done. Otherwise return false. bb is the basic block where the replacement is going to be done on. arg0 - is argument 0 from the phi. Likewise for arg1. */ + is argument 0 from the phi. Likewise for arg1. */ static bool abs_replacement (basic_block cond_bb, basic_block middle_bb, diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 0f89bed..d098d87 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -714,7 +714,7 @@ set_equal (value_set_t a, value_set_t b) } /* Replace an instance of EXPR's VALUE with EXPR in SET if it exists, - and add it otherwise. */ + and add it otherwise. */ static void bitmap_value_replace_in_set (bitmap_set_t set, tree expr) @@ -1384,7 +1384,7 @@ create_expression_by_pieces (basic_block block, tree expr, tree stmts) } /* Return the folded version of T if T, when folded, is a gimple - min_invariant. Otherwise, return T. */ + min_invariant. Otherwise, return T. */ static tree fully_constant_expression (tree t) diff --git a/gcc/tree-ssa-sink.c b/gcc/tree-ssa-sink.c index d1ac56a..5984a5a 100644 --- a/gcc/tree-ssa-sink.c +++ b/gcc/tree-ssa-sink.c @@ -73,7 +73,7 @@ Boston, MA 02111-1307, USA. */ static struct { - /* The number of statements sunk down the flowgraph by code sinking. */ + /* The number of statements sunk down the flowgraph by code sinking. */ int sunk; } sink_stats; @@ -106,7 +106,7 @@ find_bb_for_arg (tree phi, tree def) and all the other uses are in phis in the same basic block, but this requires some expensive checking later (you have to make sure no def/vdef in the statement occurs for multiple edges in the various phi nodes it's - used in, so that you only have one place you can sink it to. */ + used in, so that you only have one place you can sink it to. */ static bool all_immediate_uses_same_place (dataflow_t imm) @@ -266,7 +266,7 @@ nearest_common_dominator_of_uses (dataflow_t imm) /* Given a statement (STMT) and the basic block it is currently in (FROMBB), determine the location to sink the statement to, if any. Return the basic block to sink it to, or NULL if we should not sink - it. */ + it. */ static tree statement_sink_location (tree stmt, basic_block frombb) diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c index 3744504..5a66a31 100644 --- a/gcc/tree-vect-analyze.c +++ b/gcc/tree-vect-analyze.c @@ -1699,7 +1699,7 @@ vect_object_analysis (tree memref, tree stmt, bool is_read, return NULL_TREE; /* Part 2: Combine the results of object and address analysis to calculate - INITIAL_OFFSET, STEP and misalignment info. */ + INITIAL_OFFSET, STEP and misalignment info. */ *offset = size_binop (PLUS_EXPR, object_offset, address_offset); if (object_misalign && address_misalign) *misalign = size_binop (PLUS_EXPR, object_misalign, address_misalign); diff --git a/gcc/tree.def b/gcc/tree.def index 9a7c7e0..bcb3884 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -148,7 +148,7 @@ DEFTREECODE (OFFSET_TYPE, "offset_type", tcc_type, 0) DEFTREECODE (ENUMERAL_TYPE, "enumeral_type", tcc_type, 0) /* Boolean type (true or false are the only values). Looks like an - INTEGRAL_TYPE. */ + INTEGRAL_TYPE. */ DEFTREECODE (BOOLEAN_TYPE, "boolean_type", tcc_type, 0) /* CHAR in Java; not used in C. Looks like an INTEGRAL_TYPE. */ @@ -171,7 +171,7 @@ DEFTREECODE (REAL_TYPE, "real_type", tcc_type, 0) /* The ordering of the following codes is optimized for the checking macros in tree.h. Changing the order will degrade the speed of the compiler. POINTER_TYPE, REFERENCE_TYPE. Note that this range - overlaps the previous range of ordered types. */ + overlaps the previous range of ordered types. */ /* All pointer-to-x types have code POINTER_TYPE. The TREE_TYPE points to the node for the type pointed to. */ @@ -867,7 +867,7 @@ DEFTREECODE (SSA_NAME, "ssa_name", tcc_exceptional, 0) PHI_ARG_ELT returns the Ith tuple <ssa_name, edge> from the argument list. Each tuple contains the incoming reaching definition (SSA_NAME node) and the edge via which that definition - is coming through. */ + is coming through. */ DEFTREECODE (PHI_NODE, "phi_node", tcc_exceptional, 0) /* Used to represent a typed exception handler. CATCH_TYPES is the type (or @@ -751,7 +751,7 @@ extern void tree_operand_check_failed (int, enum tree_code, /* Nonzero if TYPE represents an integral type. Note that we do not include COMPLEX types here. Keep these checks in ascending code - order. */ + order. */ #define INTEGRAL_TYPE_P(TYPE) \ (TREE_CODE (TYPE) == ENUMERAL_TYPE \ |