diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-04 03:28:53 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-04 03:28:53 +0000 |
commit | 930e81755b53deb8ef27e5531d87d33be3c59d3b (patch) | |
tree | 985387257ec096f981de1673a4abb0deacefe8d7 /gcc/cp/rtti.c | |
parent | c55906ebc040e0fb9e0d44be38b343068e6bbc1d (diff) | |
download | ppe42-gcc-930e81755b53deb8ef27e5531d87d33be3c59d3b.tar.gz ppe42-gcc-930e81755b53deb8ef27e5531d87d33be3c59d3b.zip |
PR c++/33916
* cp/init.c (build_value_init_1): New function.
(build_value_init): New function.
* cp/typeck2.c (build_functional_cast): Call it.
* cp/cp-gimplify.c (cp_gimplify_init_expr): Handle its output.
* cp/cp-tree.h (TYPE_HAS_USER_CONSTRUCTOR): Rename from
TYPE_HAS_CONSTRUCTOR.
* cp/class.c (finish_struct_bits, maybe_warn_about_overly_private_class,
add_implicitly_declared_members): Adjust.
(check_field_decls): Adjust. Remove warnings about reference/const
in class without constructor.
(check_bases_and_members): Adjust. Give those warnings here instead.
* cp/decl.c (fixup_anonymous_aggr): Adjust.
(check_initializer): Adjust, clarify logic slightly.
(grok_special_member_properties): Adjust, only set if user-provided.
* cp/rtti.c (create_tinfo_types): Don't set.
* cp/cvt.c (ocp_convert): Remove exception for vtable_entry_type et al.
Use same_type_ignoring_top_level_qualifiers_p.
* cp/pt.c (check_explicit_specialization): Adjust.
(instantiate_class_template): Adjust.
* print-tree.c (print_node) [CONSTRUCTOR]: Print elements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132088 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r-- | gcc/cp/rtti.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c index 6cac0efc1f8..1925d04fbc5 100644 --- a/gcc/cp/rtti.c +++ b/gcc/cp/rtti.c @@ -1318,7 +1318,6 @@ create_tinfo_types (void) ti->name = NULL_TREE; finish_builtin_struct (ti->type, "__type_info_pseudo", fields, NULL_TREE); - TYPE_HAS_CONSTRUCTOR (ti->type) = 1; } /* Fundamental type_info */ @@ -1357,7 +1356,6 @@ create_tinfo_types (void) ti->name = NULL_TREE; finish_builtin_struct (ti->type, "__base_class_type_info_pseudo", fields, NULL_TREE); - TYPE_HAS_CONSTRUCTOR (ti->type) = 1; } /* Pointer type_info. Adds two fields, qualification mask |