diff options
author | Douglas Gregor <doug.gregor@gmail.com> | 2008-03-27 14:53:57 +0000 |
---|---|---|
committer | Doug Gregor <dgregor@gcc.gnu.org> | 2008-03-27 14:53:57 +0000 |
commit | 525521b6ddb69a9f0478704e0eec2231c0923d2d (patch) | |
tree | 090934fe30a8019c24a7123ebc14a508495e1103 /gcc/objc | |
parent | 063cc99c4658d52b33b37f4173d304efa9c68b00 (diff) | |
download | gcc-525521b6ddb69a9f0478704e0eec2231c0923d2d.tar.gz |
re PR bootstrap/35704 (Bootstrap failure on i686-apple-darwin9 at revision 133519 (take 2).)
2008-03-27 Douglas Gregor <doug.gregor@gmail.com>
PR obj-c++/35704
* typeck.c (build_x_compound_expr): Use cp_build_compound_expr.
(build_compound_expr): New, for compatibility with C
build_compound_expr.
(cp_build_compound_expr): Renamed from build_compound_expr.
(build_c_cast): New, for compatibility with C build_c_cast.
(cp_build_c_cast): Renamed from build_c_cast.
* init.c (build_vec_delete_1): Fix calls to build_compound_expr.
* decl.c (cxx_maybe_build_cleanup): Ditto.
* cp-tree.h (build_compound_expr): Add C-compatibile prototype.
(cp_build_compound_expr): Renamed from build_compound_expr.
(build_c_cast): Add C-compatible prototype.
(cp_build_c_cast): Renamed from build_c_cast.
* typeck2.c (build_functional_cast): Use cp_build_c_cast.
* parser.c (cp_parser_cast_expression): Fix call to build_c_cast.
2008-03-27 Douglas Gregor <doug.gregor@gmail.com>
PR obj-c++/35704
* objc-act.c (objc_build_component_ref): Fix call to
finish_class_member_access_expr.
(objc_generate_cxx_ctor_or_dtor): Fix call to
build_special_member_call.
From-SVN: r133643
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 7584ed19d96..4b0b02837b7 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,11 @@ +2008-03-27 Douglas Gregor <doug.gregor@gmail.com> + + PR obj-c++/35704 + * objc-act.c (objc_build_component_ref): Fix call to + finish_class_member_access_expr. + (objc_generate_cxx_ctor_or_dtor): Fix call to + build_special_member_call. + 2008-03-25 Andrew Pinski <pinskia@gmail.com> PR objc/29197 diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 48bf974fb36..9baa4da793f 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -1255,7 +1255,8 @@ objc_build_component_ref (tree datum, tree component) front-end, but 'finish_class_member_access_expr' seems to be a worthy substitute. */ #ifdef OBJCPLUS - return finish_class_member_access_expr (datum, component, false); + return finish_class_member_access_expr (datum, component, false, + tf_warning_or_error); #else return build_component_ref (datum, component); #endif @@ -4493,7 +4494,7 @@ objc_generate_cxx_ctor_or_dtor (bool dtor) (build_special_member_call (build_ivar_reference (DECL_NAME (ivar)), dtor ? complete_dtor_identifier : complete_ctor_identifier, - NULL_TREE, type, LOOKUP_NORMAL)); + NULL_TREE, type, LOOKUP_NORMAL, tf_warning_or_error)); } } |