aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2009-01-23 15:57:19 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2009-01-23 15:57:19 +0000
commit9bacafeb4c9efa2344620a8fdb79a2ea5aadfbad (patch)
treeaacb078bea4cd0815736d26fb8837d2a3a40112b /gcc/tree.h
parent63e505333c7eae301e810d9b84d12a2149e81970 (diff)
downloadgcc-9bacafeb4c9efa2344620a8fdb79a2ea5aadfbad.zip
gcc-9bacafeb4c9efa2344620a8fdb79a2ea5aadfbad.tar.gz
gcc-9bacafeb4c9efa2344620a8fdb79a2ea5aadfbad.tar.bz2
re PR middle-end/38932 (ICE in set_value_range, at tree-vrp.c:398)
2008-01-23 Paolo Bonzini <bonzini@gnu.org> PR tree-optimization/38932 * fold-const.c (fold_unary_no_overflow): New. * tree.h (fold_unary_no_overflow): Declare. * tree-ssa-ccp.c (ccp_fold): Use fold_unary_no_overflow. * tree-ssa-sccvn.c (visit_reference_op_load, simplify_unary_expression): Likewise. testsuite: 2008-01-23 Paolo Bonzini <bonzini@gnu.org> PR tree-optimization/38932 * gcc.dg/pr38932.c: New. From-SVN: r143588
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 55163b6..b7300fa 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4733,6 +4733,7 @@ extern tree native_interpret_expr (tree, const unsigned char *, int);
extern tree fold (tree);
extern tree fold_unary (enum tree_code, tree, tree);
+extern tree fold_unary_ignore_overflow (enum tree_code, tree, tree);
extern tree fold_binary (enum tree_code, tree, tree, tree);
extern tree fold_ternary (enum tree_code, tree, tree, tree, tree);
extern tree fold_build1_stat (enum tree_code, tree, tree MEM_STAT_DECL);