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.h | |
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.h')
-rw-r--r-- | gcc/tree-gimple.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-gimple.h b/gcc/tree-gimple.h index 5f7724b01b3..83c17fbad7a 100644 --- a/gcc/tree-gimple.h +++ b/gcc/tree-gimple.h @@ -53,6 +53,8 @@ extern bool is_gimple_formal_tmp_var (tree); extern bool is_gimple_formal_tmp_reg (tree); /* Returns true iff T is any sort of variable. */ extern bool is_gimple_variable (tree); +/* Returns true iff T is any sort of symbol. */ +extern bool is_gimple_id (tree); /* Returns true iff T is a variable or an INDIRECT_REF (of a variable). */ extern bool is_gimple_min_lval (tree); /* Returns true iff T is something whose address can be taken. */ |