aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2010-05-14 14:55:10 -0400
committerJason Merrill <jason@gcc.gnu.org>2010-05-14 14:55:10 -0400
commit786f715dc6869bac7a3018e880a4ffde41940422 (patch)
treef181defcfc86100bea4bb762184c7584637432cc /gcc/gimple.c
parent19fb0b860f5b70c3fa0bbf7ef02afd7b95634231 (diff)
downloadgcc-786f715dc6869bac7a3018e880a4ffde41940422.zip
gcc-786f715dc6869bac7a3018e880a4ffde41940422.tar.gz
gcc-786f715dc6869bac7a3018e880a4ffde41940422.tar.bz2
re PR c++/44127 (G++ emits unnecessary EH code)
PR c++/44127 gcc: * gimplify.c (gimplify_seq_add_stmt): No longer static. * gimple.h: Declare it. * gimple.c (gimple_build_eh_filter): No ops. gcc/cp: * cp-gimplify.c (gimplify_must_not_throw_expr): Use gimple_build_eh_must_not_throw. From-SVN: r159407
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r--gcc/gimple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index 6f61ca7..dd691a8 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -636,7 +636,7 @@ gimple_build_eh_filter (tree types, gimple_seq failure)
gimple
gimple_build_eh_must_not_throw (tree decl)
{
- gimple p = gimple_alloc (GIMPLE_EH_MUST_NOT_THROW, 1);
+ gimple p = gimple_alloc (GIMPLE_EH_MUST_NOT_THROW, 0);
gcc_assert (TREE_CODE (decl) == FUNCTION_DECL);
gcc_assert (flags_from_decl_or_type (decl) & ECF_NORETURN);