summaryrefslogtreecommitdiff
path: root/gcc/tree-gimple.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-20 05:37:08 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-20 05:37:08 +0000
commitd03bd588586c9e46a8906c73e10c8661517ac65b (patch)
tree122db954d6114e9b5e9bf6c18c520145c59570fa /gcc/tree-gimple.c
parentb200b1468b2134e3ce3ec27f1730f8dd371352b4 (diff)
downloadgcc-d03bd588586c9e46a8906c73e10c8661517ac65b.tar.gz
PR tree-opt/24665
* tree-gimple.c (is_gimple_id): Export. * tree-gimple.h (is_gimple_id): Declare. * tree-ssa-ccp.c (ccp_decl_initial_min_invariant): New. (get_default_value): Use it. (maybe_fold_stmt_indirect): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107244 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-gimple.c')
-rw-r--r--gcc/tree-gimple.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree-gimple.c b/gcc/tree-gimple.c
index 284f577711c..82bbf7acea4 100644
--- a/gcc/tree-gimple.c
+++ b/gcc/tree-gimple.c
@@ -35,8 +35,6 @@ Boston, MA 02110-1301, USA. */
/* For the definitive definition of GIMPLE, see doc/tree-ssa.texi. */
-static inline bool is_gimple_id (tree);
-
/* Validation of GIMPLE expressions. */
/* Return true if T is a GIMPLE RHS for an assignment to a temporary. */
@@ -244,7 +242,7 @@ is_gimple_variable (tree t)
/* Return true if T is a GIMPLE identifier (something with an address). */
-static inline bool
+bool
is_gimple_id (tree t)
{
return (is_gimple_variable (t)