diff options
author | Richard Henderson <rth@redhat.com> | 2005-11-19 21:37:08 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-11-19 21:37:08 -0800 |
commit | 688e936d4666ef4f439810756d094a61b6f22186 (patch) | |
tree | 122db954d6114e9b5e9bf6c18c520145c59570fa /gcc/tree-gimple.c | |
parent | 7ab1122a479d64423c6ad069793f41666f9fd3aa (diff) | |
download | gcc-688e936d4666ef4f439810756d094a61b6f22186.zip gcc-688e936d4666ef4f439810756d094a61b6f22186.tar.gz gcc-688e936d4666ef4f439810756d094a61b6f22186.tar.bz2 |
re PR tree-optimization/24665 (internal compiler error: get_indirect_ref_operands)
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.
From-SVN: r107244
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 284f577..82bbf7a 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) |