projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b71bed
)
except.c (initialize_handler_parm): Use fold_build_cleanup_point_expr.
author
Jason Merrill
<jason@gcc.gnu.org>
Wed, 5 Sep 2007 01:04:05 +0000
(21:04 -0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Wed, 5 Sep 2007 01:04:05 +0000
(21:04 -0400)
* except.c (initialize_handler_parm): Use
fold_build_cleanup_point_expr.
From-SVN: r128115
gcc/cp/except.c
patch
|
blob
|
history
diff --git
a/gcc/cp/except.c
b/gcc/cp/except.c
index 3217f27c0d5d495d5a3cd90f683c8606cda24cc4..199d18574f0741c37ab31063b8a5349fd6509516 100644
(file)
--- 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);
}