aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-11-11 13:23:26 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-11-11 13:23:26 +0000
commitcc7b5acf3761c358bf9705f58b4fcf9625c49b0e (patch)
tree97ff581f26d92d0c274ac9fe16ef63b259ee439a /gcc/tree.h
parent9310366b70c4953aff526ec62d0405dc729d5edf (diff)
downloadgcc-cc7b5acf3761c358bf9705f58b4fcf9625c49b0e.zip
gcc-cc7b5acf3761c358bf9705f58b4fcf9625c49b0e.tar.gz
gcc-cc7b5acf3761c358bf9705f58b4fcf9625c49b0e.tar.bz2
match.pd: Implement patterns from associate_plusminus and factor in differences from the...
2014-11-11 Richard Biener <rguenther@suse.de> * match.pd: Implement patterns from associate_plusminus and factor in differences from the fold-const.c implementation. * fold-const.c (fold_binary_loc): Remove patterns here. * tree-ssa-forwprop.c (associate_plusminus): Remove. (pass_forwprop::execute): Don't call it. * tree.c (tree_nop_conversion_p): New function, factored from tree_nop_conversion. * tree.h (tree_nop_conversion_p): Declare. From-SVN: r217349
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 d9fe0c2..0577d51 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4226,6 +4226,7 @@ extern bool is_typedef_decl (tree x);
extern bool typedef_variant_p (tree);
extern bool auto_var_in_fn_p (const_tree, const_tree);
extern tree build_low_bits_mask (tree, unsigned);
+extern bool tree_nop_conversion_p (const_tree, const_tree);
extern tree tree_strip_nop_conversions (tree);
extern tree tree_strip_sign_nop_conversions (tree);
extern const_tree strip_invariant_refs (const_tree);