aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-scopedtables.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2016-02-08 01:17:32 -0700
committerJeff Law <law@gcc.gnu.org>2016-02-08 01:17:32 -0700
commit0b604d2dfcb7090d505f61926d52a3120d2a8ae6 (patch)
treea0b8a7032a204ba54d4ba93707fd009cc159e7f2 /gcc/tree-ssa-scopedtables.h
parent0992653dafae6e1f1da30565549bf60a830d3514 (diff)
downloadgcc-0b604d2dfcb7090d505f61926d52a3120d2a8ae6.zip
gcc-0b604d2dfcb7090d505f61926d52a3120d2a8ae6.tar.gz
gcc-0b604d2dfcb7090d505f61926d52a3120d2a8ae6.tar.bz2
re PR tree-optimization/65917 (XFAIL: gcc.dg/tree-ssa/20030922-2.c scan-tree-dump-times dom1 "if " 2)
PR tree-optimization/65917 * tree-ssa-dom.c (record_temporary_equivalences): Record both equivalences from if (x == y) style conditionals. (loop_depth_of_name): Remove. (record_equality): Remove loop depth check. * tree-ssa-scopedtables.h (const_and_copies): Refine comments. (const_and_copies::record_const_or_copy_raw): New member function. * tree-ssa-scopedtables.c (const_and_copies::record_const_or_copy_raw): New, factored out of (const_and_copies::record_const_or_copy): Call new member function. PR tree-optimization/65917 * gcc.dg/tree-ssa/20030922-2.c: No longer xfailed. From-SVN: r233207
Diffstat (limited to 'gcc/tree-ssa-scopedtables.h')
-rw-r--r--gcc/tree-ssa-scopedtables.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/tree-ssa-scopedtables.h b/gcc/tree-ssa-scopedtables.h
index 30f92d8..c933821 100644
--- a/gcc/tree-ssa-scopedtables.h
+++ b/gcc/tree-ssa-scopedtables.h
@@ -161,11 +161,18 @@ class const_and_copies
was pushed. */
void pop_to_marker (void);
- /* Record a single const/copy pair that can be unwound. */
+ /* Record a single const/copy pair that can be unwound. This version
+ may follow the value chain for the RHS. */
void record_const_or_copy (tree, tree);
+ /* Record a single const/copy pair that can be unwound. This version
+ does not follow the value chain for the RHS. */
+ void record_const_or_copy_raw (tree, tree, tree);
+
/* Special entry point when we want to provide an explicit previous
- value for the first argument. Try to get rid of this in the future. */
+ value for the first argument. Try to get rid of this in the future.
+
+ This version may also follow the value chain for the RHS. */
void record_const_or_copy (tree, tree, tree);
private: