diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2000-06-05 10:49:11 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2000-06-05 06:49:11 -0400 |
commit | 806617595fdda9139fa496a55254c8c4baa7dc8d (patch) | |
tree | 9f67eb4e1929678165cca0bdac87bd07b4cc8236 /gcc/c-decl.c | |
parent | 137e9760b7f573bd915366a4ba3ef61c6c075b87 (diff) | |
download | gcc-806617595fdda9139fa496a55254c8c4baa7dc8d.zip gcc-806617595fdda9139fa496a55254c8c4baa7dc8d.tar.gz gcc-806617595fdda9139fa496a55254c8c4baa7dc8d.tar.bz2 |
alias.c (get_alias_set): If compnent is addressable, use alias set of component.
* alias.c (get_alias_set): If compnent is addressable, use alias
set of component.
* c-decl.c (init_decl_processing): Don't call record_component_aliases.
(grokdeclarator): Likewise.
* c-typeck.c (common_type): Likewise.
* cp/decl.c (init_decl_processing): Don't call
record_component_aliases.
* cp/tree.c (build_cplus_array_type_1): Likewise.
From-SVN: r34400
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 0efffab..75e50b5 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -3023,10 +3023,6 @@ init_decl_processing () wchar_array_type_node = build_array_type (wchar_type_node, array_domain_type); - record_component_aliases (char_array_type_node); - record_component_aliases (int_array_type_node); - record_component_aliases (wchar_array_type_node); - void_list_node = tree_cons (NULL_TREE, void_type_node, NULL_TREE); default_function_type @@ -4405,7 +4401,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) type = build_array_type (type, itype); if (type_quals) type = c_build_qualified_type (type, type_quals); - record_component_aliases (type); #if 0 /* don't clear these; leave them set so that the array type or the variable is itself const or volatile. */ @@ -4578,7 +4573,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) && TREE_CODE (type) == ARRAY_TYPE && TYPE_DOMAIN (type) == 0) { type = build_array_type (TREE_TYPE (type), 0); - record_component_aliases (type); if (size_varies) C_TYPE_VARIABLE_SIZE (type) = 1; } @@ -4691,7 +4685,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) type = build_array_type (c_build_qualified_type (TREE_TYPE (type), type_quals), TYPE_DOMAIN (type)); - record_component_aliases (type); #if 0 /* Leave the field const or volatile as well. */ type_quals = TYPE_UNQUALIFIED; #endif @@ -4774,7 +4767,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) type = build_array_type (c_build_qualified_type (TREE_TYPE (type), type_quals), TYPE_DOMAIN (type)); - record_component_aliases (type); #if 0 /* Leave the variable const or volatile as well. */ type_quals = TYPE_UNQUALIFIED; #endif |