diff options
author | Jeff Law <law@redhat.com> | 2015-09-20 00:37:39 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-09-20 00:37:39 -0600 |
commit | 7c3e70560bcf162884f414c54720efcd8e68304f (patch) | |
tree | 87f5dbd47dbca4f2aefeff30e3c2a034cfa4be0b /gcc/tree-ssa-dom.h | |
parent | 355fe0884b8097c32e859f0df57c83bde0c6bd26 (diff) | |
download | gcc-7c3e70560bcf162884f414c54720efcd8e68304f.zip gcc-7c3e70560bcf162884f414c54720efcd8e68304f.tar.gz gcc-7c3e70560bcf162884f414c54720efcd8e68304f.tar.bz2 |
[PATCH] Fix 47679 by improving jump threading
PR tree-optimization/47679
* tree-ssa-dom.c (record_temporary_equivalences): No longer static.
* tree-ssa-dom.h (record_temporary_equivalences): Add prototype.
* tree-ssa-threadedge.c: Include tree-ssa-dom.h.
(thread_through_normal_block): Use record_temporary_equivalences.
PR tree-optimization/47679
* g++.dg/warn/Wuninitialized-6.C: New test.
From-SVN: r227942
Diffstat (limited to 'gcc/tree-ssa-dom.h')
-rw-r--r-- | gcc/tree-ssa-dom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-ssa-dom.h b/gcc/tree-ssa-dom.h index f1004db..15a2d16 100644 --- a/gcc/tree-ssa-dom.h +++ b/gcc/tree-ssa-dom.h @@ -21,5 +21,8 @@ along with GCC; see the file COPYING3. If not see #define GCC_TREE_SSA_DOM_H extern bool simple_iv_increment_p (gimple *); +extern void record_temporary_equivalences (edge, + class const_and_copies *, + class avail_exprs_stack *); #endif /* GCC_TREE_SSA_DOM_H */ |