[PATCH] Fix 47679 by improving jump threading
authorJeff Law <law@redhat.com>
Sun, 20 Sep 2015 06:37:39 +0000 (00:37 -0600)
committerJeff Law <law@gcc.gnu.org>
Sun, 20 Sep 2015 06:37:39 +0000 (00:37 -0600)
commit7c3e70560bcf162884f414c54720efcd8e68304f
tree87f5dbd47dbca4f2aefeff30e3c2a034cfa4be0b
parent355fe0884b8097c32e859f0df57c83bde0c6bd26
[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
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wuninitialized-6.C [new file with mode: 0644]
gcc/tree-ssa-dom.c
gcc/tree-ssa-dom.h
gcc/tree-ssa-threadedge.c