aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2007-09-04 21:04:05 -0400
committerJason Merrill <jason@gcc.gnu.org>2007-09-04 21:04:05 -0400
commitc1bb7f86700413fe89cb96f5c4121fd5010c0094 (patch)
tree7af926e215c0f6b5952a23cdde9d245bcbcb9626
parent7b71bedf4085609d76cd639dab12bba4786879e0 (diff)
downloadgcc-c1bb7f86700413fe89cb96f5c4121fd5010c0094.zip
gcc-c1bb7f86700413fe89cb96f5c4121fd5010c0094.tar.gz
gcc-c1bb7f86700413fe89cb96f5c4121fd5010c0094.tar.bz2
except.c (initialize_handler_parm): Use fold_build_cleanup_point_expr.
* except.c (initialize_handler_parm): Use fold_build_cleanup_point_expr. From-SVN: r128115
-rw-r--r--gcc/cp/except.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 3217f27..199d185 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -390,7 +390,7 @@ initialize_handler_parm (tree decl, tree exp)
CONV_IMPLICIT|CONV_FORCE_TEMP, 0);
/* Force cleanups now to avoid nesting problems with the
MUST_NOT_THROW_EXPR. */
- init = build1 (CLEANUP_POINT_EXPR, TREE_TYPE (init), init);
+ init = fold_build_cleanup_point_expr (TREE_TYPE (init), init);
init = build1 (MUST_NOT_THROW_EXPR, TREE_TYPE (init), init);
}