tree.h (build_distinct_type_copy): New.
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 23 Aug 2004 08:41:57 +0000 (08:41 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 23 Aug 2004 08:41:57 +0000 (08:41 +0000)
commit8dd16ecc7d71b9f1e1bdc4d870cf2436db9594a9
tree21e04c3973bfdab79a845ae2282b15da19d7926c
parente8bf0f3bacc5f3f4ae892f4df794cc23e41519b9
tree.h (build_distinct_type_copy): New.

* tree.h (build_distinct_type_copy): New.
(build_type_copy): ... here.  Rename to ...
(build_variant_type_copy): ... here.
* tree.c (build_qualified_type): Rename build_type_copy call.
(build_distinct_type_copy): New, broken out of ...
(build_type_copy): ... here.  Rename to ...
(build_variant_type_copy): ... here.  Use
build_distinct_type_copy.
(build_common_tree_nodes_2): Rename build_type_copy call.
* c-common.c (c_common_nodes_and_builtins): Rename build_type_copy
call.
(handle_packed_attribute, handle_unused_attribute,
handle_transparanet_union_attribute, handle_aligned_attribute,
handle_deprecated_attribute): Likewise.
* c-decl.c (clone_underlying_type, store_parm_decls_oldstyle):
Likewise.
* config/arm/arm.c (arm_handle_isr_attribyte): Likewise.
* config/rs6000/rs6000.c (rs6000_init_builtins): Use
build_distinct_type_copy.

* cp/name-lookup.c (pushdecl): Rename build_type_copy call.
* cp/tree.c (cp_build_qualified_type_real,
build_exception_variant, handle_java_interface_attribute): Likewise.

From-SVN: r86421
gcc/ChangeLog
gcc/c-common.c
gcc/c-decl.c
gcc/config/arm/arm.c
gcc/config/rs6000/rs6000.c
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/cp/tree.c
gcc/tree.c
gcc/tree.h