diff options
Diffstat (limited to 'gcc/tree.cc')
-rw-r--r-- | gcc/tree.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/gcc/tree.cc b/gcc/tree.cc index 0e0dbee..624c50d 100644 --- a/gcc/tree.cc +++ b/gcc/tree.cc @@ -3555,7 +3555,7 @@ build_tree_list_vec (const vec<tree, va_gc> *vec MEM_STAT_DECL) purpose and value fields are PURPOSE and VALUE and whose TREE_CHAIN is CHAIN. */ -tree +tree tree_cons (tree purpose, tree value, tree chain MEM_STAT_DECL) { tree node; @@ -5533,7 +5533,7 @@ check_lang_type (const_tree cand, const_tree base) return lang_hooks.types.type_hash_eq (cand, base); } -/* This function checks to see if TYPE matches the size one of the built-in +/* This function checks to see if TYPE matches the size one of the built-in atomic types, and returns that core atomic type. */ static tree @@ -7147,7 +7147,7 @@ build_nonstandard_integer_type (unsigned HOST_WIDE_INT precision, if (unsignedp) unsignedp = MAX_INT_CACHED_PREC + 1; - + if (precision <= MAX_INT_CACHED_PREC) { itype = nonstandard_integer_type_cache[precision + unsignedp]; @@ -8879,7 +8879,7 @@ static GTY(()) unsigned anon_cnt = 0; /* Saved for PCH. */ tree make_anon_name () { - const char *fmt = + const char *fmt = #if !defined (NO_DOT_IN_LABEL) "." #elif !defined (NO_DOLLAR_IN_LABEL) @@ -8923,7 +8923,7 @@ get_file_function_name (const char *type) p = q = ASTRDUP (first_global_object_name); /* If the target is handling the constructors/destructors, they will be local to this file and the name is only necessary for - debugging purposes. + debugging purposes. We also assign sub_I and sub_D sufixes to constructors called from the global static constructors. These are always local. OpenMP "declare target" offloaded constructors/destructors use "off_I" and @@ -9409,7 +9409,7 @@ build_atomic_base (tree type, unsigned int align) /* Make sure its not already registered. */ if ((t = get_qualified_type (type, TYPE_QUAL_ATOMIC))) return t; - + t = build_variant_type_copy (type); set_type_quals (t, TYPE_QUAL_ATOMIC); @@ -9563,7 +9563,7 @@ build_common_tree_nodes (bool signed_char) /* Don't call build_qualified type for atomics. That routine does special processing for atomics, and until they are initialized it's better not to make that call. - + Check to see if there is a target override for atomic types. */ atomicQI_type_node = build_atomic_base (unsigned_intQI_type_node, @@ -9576,7 +9576,7 @@ build_common_tree_nodes (bool signed_char) targetm.atomic_align_for_mode (DImode)); atomicTI_type_node = build_atomic_base (unsigned_intTI_type_node, targetm.atomic_align_for_mode (TImode)); - + access_public_node = get_identifier ("public"); access_protected_node = get_identifier ("protected"); access_private_node = get_identifier ("private"); @@ -10897,7 +10897,7 @@ build_call_expr_loc_array (location_t loc, tree fndecl, int n, tree *argarray) { tree fntype = TREE_TYPE (fndecl); tree fn = build1 (ADDR_EXPR, build_pointer_type (fntype), fndecl); - + return fold_build_call_array_loc (loc, TREE_TYPE (fntype), fn, n, argarray); } @@ -13548,7 +13548,7 @@ verify_type_variant (const_tree t, tree tv) /* Type variant can differ by: - TYPE_QUALS: TYPE_READONLY, TYPE_VOLATILE, TYPE_ATOMIC, TYPE_RESTRICT, - ENCODE_QUAL_ADDR_SPACE. + ENCODE_QUAL_ADDR_SPACE. - main variant may be TYPE_COMPLETE_P and variant types !TYPE_COMPLETE_P in this case some values may not be set in the variant types (see TYPE_COMPLETE_P checks). @@ -13631,7 +13631,7 @@ verify_type_variant (const_tree t, tree tv) else if (TREE_CODE (t) == ARRAY_TYPE) verify_variant_match (TYPE_NONALIASED_COMPONENT); /* During LTO we merge variant lists from diferent translation units - that may differ BY TYPE_CONTEXT that in turn may point + that may differ BY TYPE_CONTEXT that in turn may point to TRANSLATION_UNIT_DECL. Ada also builds variants of types with different TYPE_CONTEXT. */ #if 0 @@ -13809,7 +13809,7 @@ type_with_interoperable_signedness (const_tree type) } /* Return true iff T1 and T2 are structurally identical for what - TBAA is concerned. + TBAA is concerned. This function is used both by lto.cc canonical type merging and by the verifier. If TRUST_TYPE_CANONICAL we do not look into structure of types that have TYPE_CANONICAL defined and assume them equivalent. This is useful @@ -14311,7 +14311,7 @@ verify_type (const_tree t) error ("%<TYPE_ARRAY_MAX_SIZE%> not %<INTEGER_CST%>"); debug_tree (TYPE_ARRAY_MAX_SIZE (t)); error_found = true; - } + } } else if (TYPE_MAX_VALUE_RAW (t)) { @@ -14474,7 +14474,7 @@ verify_type (const_tree t) error ("%<TYPE_CACHED_VALUES_P%> is set while it should not be"); error_found = true; } - + /* ipa-devirt makes an assumption that TYPE_METHOD_BASETYPE is always TYPE_MAIN_VARIANT and it would be odd to add methods only to variatns of a type. */ @@ -14974,7 +14974,7 @@ get_typenode_from_name (const char *name) real declaration. Keep the size up to date in tree.h ! */ -const builtin_structptr_type builtin_structptr_types[6] = +const builtin_structptr_type builtin_structptr_types[6] = { { fileptr_type_node, ptr_type_node, "FILE" }, { const_tm_ptr_type_node, const_ptr_type_node, "tm" }, |