summaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-04 13:08:34 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-04 13:08:34 +0000
commit40a3eb8400799d262bf5b71bc4ec4a48d2558436 (patch)
treebfaae94360ee5899f4bdb0120dcc1bff2e412f77 /gcc/gimple-fold.c
parentba502e2bb99362d8916797aaa6b6cf44016ae714 (diff)
downloadgcc-40a3eb8400799d262bf5b71bc4ec4a48d2558436.tar.gz
2014-08-04 Richard Biener <rguenther@suse.de>
* gimple-fold.h (gimple_fold_builtin): Remove. * gimple-fold.c (gimple_fold_builtin): Make static. * tree-ssa-ccp.c (pass_fold_builtins::execute): Use fold_stmt, not gimple_fold_builtin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213585 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-fold.c')
-rw-r--r--gcc/gimple-fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c
index 2e0f2bff438..fa5681040ed 100644
--- a/gcc/gimple-fold.c
+++ b/gcc/gimple-fold.c
@@ -873,7 +873,7 @@ get_maxval_strlen (tree arg, tree *length, bitmap visited, int type)
Note that some builtins expand into inline code that may not
be valid in GIMPLE. Callers must take care. */
-tree
+static tree
gimple_fold_builtin (gimple stmt)
{
tree result, val[3];