diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-24 16:39:43 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-24 16:39:43 +0000 |
commit | 1561d3cd1762d3318e7e22b8488b9e719a329a4b (patch) | |
tree | 68fa8feee0d0759d7e8c1a8d496ea0bff1000fc3 /gcc/expmed.c | |
parent | dd2c675d82faae19273a08742579b66b49199a2a (diff) | |
download | gcc-1561d3cd1762d3318e7e22b8488b9e719a329a4b.tar.gz |
* c-decl.c (c_init_decl_processing): Adjust
build_common_tree_nodes call.
* expmed.c (const_mult_add_overflow_p): Use
build_distinct_type_copy.
* stor-layout.c (early_type_list): Remove.
(layout_type): Don't append to early_type_list.
(initialize_sizetypes): Add signed_p argument.
(set_sizetype): Overwrite the stub type nodes directly.
* tree.c (copy_node_stat): Clear a type's value cache here ...
(build_distinct_type): ... not here.
(build_common_tree_nodes): Add signed_sizetype argument. Adjust.
* tree.h (initialize_sizetypes): Add signed_p argument.
(build_common_tree_nodes): Likewise.
* ada/utils.c (gnat_init_decl_processing): Adjust
build_common_tree_nodes call.
* cp/decl.c (cxx_init_decl_processing): Adjust
build_common_tree_nodes call.
* fortran/f95-lang.c (gfc_init_decl_processing): Adjust
build_common_tree_nodes call.
* java/decl.c (java_init_decl_processing): Adjust
initialize_sizetypes call.
* objc/objc-act.c (get_static_reference): Use
build_variant_type_copy.
(get_protocol_reference): Likewise.
* objc/objc-act.h (TREE_STATIC_TEMPLATE): Use TREE_PRIVATE.
* treelang/treetree.c (treelang_init_decl_processing): Adjust
build_common_tree_nodes call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86493 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index bb24504d27c..dd79390f9e8 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -4564,13 +4564,7 @@ const_mult_add_overflow_p (rtx x, rtx mult, rtx add, { /* FIXME:It would be nice if we could step directly from this type to its sizetype equivalent. */ - mult_type = copy_node (type); - if (TYPE_CACHED_VALUES_P (mult_type)) - { - /* Clear any set of cached values it has. */ - TYPE_CACHED_VALUES_P (mult_type) = 0; - TYPE_CACHED_VALUES (mult_type) = NULL_TREE; - } + mult_type = build_distinct_type_copy (type); TYPE_IS_SIZETYPE (mult_type) = 1; } |