From e6a18807bb867001dd062d893c1c3f23c8ce2bbd Mon Sep 17 00:00:00 2001 From: rguenth Date: Wed, 20 Jan 2010 11:47:39 +0000 Subject: 2010-01-20 Richard Guenther * tree-inline.c (estimate_num_insns): Handle EH builtins. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156073 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-inline.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/tree-inline.c') diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index d7e515a4d1b..e08842ca829 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -3310,6 +3310,12 @@ estimate_num_insns (gimple stmt, eni_weights *weights) cost = weights->target_builtin_call_cost; break; + /* Exception state returns or moves registers around. */ + case BUILT_IN_EH_FILTER: + case BUILT_IN_EH_POINTER: + case BUILT_IN_EH_COPY_VALUES: + return 0; + default: break; } -- cgit v1.2.1