From 446dbdd87f4d43b79ca85b4f75f80252ef251929 Mon Sep 17 00:00:00 2001 From: rguenth Date: Thu, 11 Aug 2011 14:34:51 +0000 Subject: 2011-08-11 Richard Guenther * lto-cgraph.c (input_node): Use DECL_BUILT_IN. * tree-vrp.c (stmt_interesting_for_vrp): Likewise. (vrp_visit_stmt): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177668 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-vrp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/tree-vrp.c') diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 0faf53aa985..6944b42e3d1 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -5594,7 +5594,7 @@ stmt_interesting_for_vrp (gimple stmt) || POINTER_TYPE_P (TREE_TYPE (lhs))) && ((is_gimple_call (stmt) && gimple_call_fndecl (stmt) != NULL_TREE - && DECL_IS_BUILTIN (gimple_call_fndecl (stmt))) + && DECL_BUILT_IN (gimple_call_fndecl (stmt))) || !gimple_vuse (stmt))) return true; } @@ -6432,7 +6432,7 @@ vrp_visit_stmt (gimple stmt, edge *taken_edge_p, tree *output_p) builtin functions. */ if ((is_gimple_call (stmt) && gimple_call_fndecl (stmt) != NULL_TREE - && DECL_IS_BUILTIN (gimple_call_fndecl (stmt))) + && DECL_BUILT_IN (gimple_call_fndecl (stmt))) || !gimple_vuse (stmt)) return vrp_visit_assignment_or_call (stmt, output_p); } -- cgit v1.2.1