diff options
author | Jason Merrill <jason@redhat.com> | 2012-07-09 20:03:11 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2012-07-09 20:03:11 -0400 |
commit | 60b9991b6105eeba6f825a2d300a9c35d2bfdf81 (patch) | |
tree | 14d19b79aa29ba20b29c6dfda51f0a42337039b1 /gcc/cp | |
parent | 83d88a6dd16bc8414522b09481a6479662ead0fd (diff) | |
download | gcc-60b9991b6105eeba6f825a2d300a9c35d2bfdf81.zip gcc-60b9991b6105eeba6f825a2d300a9c35d2bfdf81.tar.gz gcc-60b9991b6105eeba6f825a2d300a9c35d2bfdf81.tar.bz2 |
method.c (synthesized_method_walk): Avoid changing EH spec based on cleanups in other places, too.
* method.c (synthesized_method_walk): Avoid changing
EH spec based on cleanups in other places, too.
From-SVN: r189395
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/method.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1afef7a..e4c5506 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2012-07-10 Jason Merrill <jason@redhat.com> + + * method.c (synthesized_method_walk): Avoid changing + EH spec based on cleanups in other places, too. + 2012-07-09 Sterling Augustine <saugustine@google.com> * error.c (lang_decl_name): Use TFF_UNQUALIFIED_NAME flag. diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 0237456..7ea2de9 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -1315,7 +1315,7 @@ synthesized_method_walk (tree ctype, special_function_kind sfk, bool const_p, { rval = locate_fn_flags (base_binfo, complete_dtor_identifier, NULL_TREE, flags, complain); - process_subob_fn (rval, false, spec_p, NULL, + process_subob_fn (rval, false, NULL, NULL, deleted_p, NULL, NULL, basetype); } @@ -1335,7 +1335,7 @@ synthesized_method_walk (tree ctype, special_function_kind sfk, bool const_p, if (ctor_p) walk_field_subobs (TYPE_FIELDS (ctype), complete_dtor_identifier, sfk_destructor, TYPE_UNQUALIFIED, false, - false, false, spec_p, NULL, + false, false, NULL, NULL, deleted_p, NULL, NULL, flags, complain); |