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/cp | |
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/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/decl.c | 4 | ||||
-rw-r--r-- | gcc/cp/tree.c | 5 |
3 files changed, 6 insertions, 8 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 87cea70..528f9bc 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 5 06:48:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> + + * decl.c (init_decl_processing): Don't call record_component_aliases. + * tree.c (build_cplus_array_type_1): Likewise. + 2000-06-04 Mark Mitchell <mark@codesourcery.com> * ir.texi: Correct typo. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 5aff843..60e8f9f 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -6478,9 +6478,6 @@ init_decl_processing () int_array_type_node = build_array_type (integer_type_node, array_domain_type); - record_component_aliases (char_array_type_node); - record_component_aliases (int_array_type_node); - if (flag_new_abi) delta_type_node = ptrdiff_type_node; else if (flag_huge_objects) @@ -6544,7 +6541,6 @@ init_decl_processing () /* This is for wide string constants. */ wchar_array_type_node = build_array_type (wchar_type_node, array_domain_type); - record_component_aliases (wchar_array_type_node); if (flag_vtable_thunks) { 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. */ |