diff options
Diffstat (limited to 'gcc/cp/except.c')
| -rw-r--r-- | gcc/cp/except.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 17166d9..71b433f 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -744,7 +744,7 @@ build_throw (tree exp) /* Wrap the initialization in a CLEANUP_POINT_EXPR so that cleanups for temporaries within the initialization are run before the one for the exception object, preserving LIFO order. */ - exp = build1 (CLEANUP_POINT_EXPR, TREE_TYPE (exp), exp); + exp = build1 (CLEANUP_POINT_EXPR, void_type_node, exp); if (elided) exp = build2 (TRY_CATCH_EXPR, void_type_node, exp, |
