diff options
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 57 |
1 files changed, 30 insertions, 27 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index 1c881e4a4ce..ebee116f0c5 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -1007,7 +1007,7 @@ copy_node_stat (tree node MEM_STAT_DECL) TYPE_SYMTAB_ADDRESS (t) = 0; /* Do not copy the values cache. */ - if (TYPE_CACHED_VALUES_P(t)) + if (TYPE_CACHED_VALUES_P (t)) { TYPE_CACHED_VALUES_P (t) = 0; TYPE_CACHED_VALUES (t) = NULL_TREE; @@ -1112,7 +1112,7 @@ force_fit_type_double (tree type, double_int cst, int overflowable, bool sign_extended_type = !TYPE_UNSIGNED (type); /* If we need to set overflow flags, return a new unshared node. */ - if (overflowed || !double_int_fits_to_tree_p(type, cst)) + if (overflowed || !double_int_fits_to_tree_p (type, cst)) { if (overflowed || overflowable < 0 @@ -1726,7 +1726,7 @@ build_one_cst (tree type) case FIXED_POINT_TYPE: /* We can only generate 1 for accum types. */ gcc_assert (ALL_SCALAR_ACCUM_MODE_P (TYPE_MODE (type))); - return build_fixed (type, FCONST1(TYPE_MODE (type))); + return build_fixed (type, FCONST1 (TYPE_MODE (type))); case VECTOR_TYPE: { @@ -4118,8 +4118,8 @@ build2_stat (enum tree_code code, tree tt, tree arg0, tree arg1 MEM_STAT_DECL) read_only = 1; side_effects = TREE_SIDE_EFFECTS (t); - PROCESS_ARG(0); - PROCESS_ARG(1); + PROCESS_ARG (0); + PROCESS_ARG (1); TREE_READONLY (t) = read_only; TREE_CONSTANT (t) = constant; @@ -4158,9 +4158,9 @@ build3_stat (enum tree_code code, tree tt, tree arg0, tree arg1, else side_effects = TREE_SIDE_EFFECTS (t); - PROCESS_ARG(0); - PROCESS_ARG(1); - PROCESS_ARG(2); + PROCESS_ARG (0); + PROCESS_ARG (1); + PROCESS_ARG (2); if (code == COND_EXPR) TREE_READONLY (t) = read_only; @@ -4187,10 +4187,10 @@ build4_stat (enum tree_code code, tree tt, tree arg0, tree arg1, side_effects = TREE_SIDE_EFFECTS (t); - PROCESS_ARG(0); - PROCESS_ARG(1); - PROCESS_ARG(2); - PROCESS_ARG(3); + PROCESS_ARG (0); + PROCESS_ARG (1); + PROCESS_ARG (2); + PROCESS_ARG (3); TREE_SIDE_EFFECTS (t) = side_effects; TREE_THIS_VOLATILE (t) @@ -4214,11 +4214,11 @@ build5_stat (enum tree_code code, tree tt, tree arg0, tree arg1, side_effects = TREE_SIDE_EFFECTS (t); - PROCESS_ARG(0); - PROCESS_ARG(1); - PROCESS_ARG(2); - PROCESS_ARG(3); - PROCESS_ARG(4); + PROCESS_ARG (0); + PROCESS_ARG (1); + PROCESS_ARG (2); + PROCESS_ARG (3); + PROCESS_ARG (4); TREE_SIDE_EFFECTS (t) = side_effects; TREE_THIS_VOLATILE (t) @@ -5515,8 +5515,8 @@ const pass_data pass_data_ipa_free_lang_data = class pass_ipa_free_lang_data : public simple_ipa_opt_pass { public: - pass_ipa_free_lang_data(gcc::context *ctxt) - : simple_ipa_opt_pass(pass_data_ipa_free_lang_data, ctxt) + pass_ipa_free_lang_data (gcc::context *ctxt) + : simple_ipa_opt_pass (pass_data_ipa_free_lang_data, ctxt) {} /* opt_pass methods: */ @@ -6680,9 +6680,11 @@ attribute_list_contained (const_tree l1, const_tree l2) /* This CONST_CAST is okay because lookup_attribute does not modify its argument and the return value is assigned to a const_tree. */ - for (attr = lookup_ident_attribute (get_attribute_name (t2), CONST_CAST_TREE(l1)); + for (attr = lookup_ident_attribute (get_attribute_name (t2), + CONST_CAST_TREE (l1)); attr != NULL_TREE && !attribute_value_equal (t2, attr); - attr = lookup_ident_attribute (get_attribute_name (t2), TREE_CHAIN (attr))) + attr = lookup_ident_attribute (get_attribute_name (t2), + TREE_CHAIN (attr))) ; if (attr == NULL_TREE) @@ -7801,9 +7803,9 @@ strip_array_types (tree type) true) or would not differ from ARGTYPES. */ static tree -maybe_canonicalize_argtypes(tree argtypes, - bool *any_structural_p, - bool *any_noncanonical_p) +maybe_canonicalize_argtypes (tree argtypes, + bool *any_structural_p, + bool *any_noncanonical_p) { tree arg; bool any_noncanonical_argtypes_p = false; @@ -9342,7 +9344,7 @@ tree_contains_struct_check_failed (const_tree node, { internal_error ("tree check: expected tree that contains %qs structure, have %qs in %s, at %s:%d", - TS_ENUM_NAME(en), + TS_ENUM_NAME (en), tree_code_name[TREE_CODE (node)], function, trim_filename (file), line); } @@ -10998,7 +11000,8 @@ walk_tree_1 (tree *tp, walk_tree_fn func, void *data, unsigned HOST_WIDE_INT idx; constructor_elt *ce; - for (idx = 0; vec_safe_iterate(CONSTRUCTOR_ELTS (*tp), idx, &ce); idx++) + for (idx = 0; vec_safe_iterate (CONSTRUCTOR_ELTS (*tp), idx, &ce); + idx++) WALK_SUBTREE (ce->value); } break; @@ -11304,7 +11307,7 @@ stdarg_p (const_tree fntype) if (!fntype) return false; - FOREACH_FUNCTION_ARGS(fntype, t, args_iter) + FOREACH_FUNCTION_ARGS (fntype, t, args_iter) { n = t; } |