diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-20 05:37:08 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-20 05:37:08 +0000 |
commit | d03bd588586c9e46a8906c73e10c8661517ac65b (patch) | |
tree | 122db954d6114e9b5e9bf6c18c520145c59570fa /gcc/tree-gimple.c | |
parent | b200b1468b2134e3ce3ec27f1730f8dd371352b4 (diff) | |
download | gcc-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.c | 4 |
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) |