aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-08-11 14:34:51 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-08-11 14:34:51 +0000
commit022676dcde6f4ed5722c13a7a9049f06a9e9a088 (patch)
treeca21c4a91cb58fd5e55b3a7b6df2ca89a28fa5c8 /gcc/tree-vrp.c
parent8d2b04104d36240ecb02beeab5afac2752237a12 (diff)
downloadgcc-022676dcde6f4ed5722c13a7a9049f06a9e9a088.zip
gcc-022676dcde6f4ed5722c13a7a9049f06a9e9a088.tar.gz
gcc-022676dcde6f4ed5722c13a7a9049f06a9e9a088.tar.bz2
lto-cgraph.c (input_node): Use DECL_BUILT_IN.
2011-08-11 Richard Guenther <rguenther@suse.de> * lto-cgraph.c (input_node): Use DECL_BUILT_IN. * tree-vrp.c (stmt_interesting_for_vrp): Likewise. (vrp_visit_stmt): Likewise. From-SVN: r177668
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r--gcc/tree-vrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
index 0faf53a..6944b42 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);
}