aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-06-05 10:49:11 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-06-05 06:49:11 -0400
commit806617595fdda9139fa496a55254c8c4baa7dc8d (patch)
tree9f67eb4e1929678165cca0bdac87bd07b4cc8236 /gcc/cp/tree.c
parent137e9760b7f573bd915366a4ba3ef61c6c075b87 (diff)
downloadgcc-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/cp/tree.c')
-rw-r--r--gcc/cp/tree.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index 95fafad..382e254 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -500,10 +500,7 @@ build_cplus_array_type_1 (elt_type, index_type)
TYPE_DOMAIN (t) = index_type;
}
else
- {
- t = build_array_type (elt_type, index_type);
- record_component_aliases (t);
- }
+ t = build_array_type (elt_type, index_type);
/* Push these needs up so that initialization takes place
more easily. */