aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2005-03-21 19:27:00 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2005-03-21 19:27:00 +0000
commit013cc86f9abb27c545e61c6a3e872ca147040be7 (patch)
treefa074c6a524b35099d5e619373b0066febd064c9 /gcc/tree-flow.h
parentd331e204024e2a74124880dd0dee8f4952fc9b26 (diff)
downloadgcc-013cc86f9abb27c545e61c6a3e872ca147040be7.zip
gcc-013cc86f9abb27c545e61c6a3e872ca147040be7.tar.gz
gcc-013cc86f9abb27c545e61c6a3e872ca147040be7.tar.bz2
re PR tree-optimization/20542 (Bootstrap failure at -Os)
2005-03-18 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/20542 * tree-flow-inline.h (overlap_subvar): Move to here. * tree-ssa-operands.c: From here. * tree-flow.h (overlap_subvar): Declare. * tree-ssa-alias.c (add_pointed_to_var): Use overlap_subvar here. * tree-ssa-loop-im.c (is_call_clobbered_ref): Return proper answer for variables with subvars. From-SVN: r96829
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 25d3e5a..abca659 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -596,6 +596,9 @@ static inline bool ref_contains_array_ref (tree);
extern tree okay_component_ref_for_subvars (tree, HOST_WIDE_INT *,
HOST_WIDE_INT *);
static inline bool var_can_have_subvars (tree);
+static inline bool overlap_subvar (HOST_WIDE_INT, HOST_WIDE_INT,
+ subvar_t, bool *);
+
/* Call-back function for walk_use_def_chains(). At each reaching
definition, a function with this prototype is called. */
typedef bool (*walk_use_def_chains_fn) (tree, tree, void *);