aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-03-15 14:34:18 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-03-15 14:34:18 +0000
commited97ddc649f7edc10e75e05c92cf49fdfbdd6150 (patch)
tree8d621c599271cc9675f83006117dc15c1f907030 /gcc/tree-flow.h
parentab55105446b5bd197d6e41a7056036b27eda1154 (diff)
downloadgcc-ed97ddc649f7edc10e75e05c92cf49fdfbdd6150.zip
gcc-ed97ddc649f7edc10e75e05c92cf49fdfbdd6150.tar.gz
gcc-ed97ddc649f7edc10e75e05c92cf49fdfbdd6150.tar.bz2
tree-ssa-ccp.c (get_symbol_constant_value): Export.
2008-03-15 Richard Guenther <rguenther@suse.de> * tree-ssa-ccp.c (get_symbol_constant_value): Export. (fold_const_aggregate_ref): Likewise. (get_value): Return NULL if we don't have any values. (ccp_finalize): Set const_val to NULL after freeing it. * tree-flow.h (get_symbol_constant_value): Declare. (fold_const_aggregate_ref): Likewise. * tree-ssa-sccvn.c (try_to_simplify): Use them. * gcc.dg/pr23911.c: Adjust testcase. * gcc.dg/tree-ssa/pr14841.c: Likewise. * gcc.dg/tree-ssa/20030922-2.c: Likewise. From-SVN: r133251
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 274e740..fddd1dc 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -940,6 +940,8 @@ void set_current_def (tree, tree);
/* In tree-ssa-ccp.c */
bool fold_stmt (tree *);
bool fold_stmt_inplace (tree);
+tree get_symbol_constant_value (tree);
+tree fold_const_aggregate_ref (tree);
tree widen_bitfield (tree, tree, tree);
/* In tree-vrp.c */