[Bug tree-optimization/47679] [4.9/5/6 Regression] Strange uninitialized warning after SRA
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 20 06:40:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47679
--- Comment #31 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Sun Sep 20 06:37:39 2015
New Revision: 227942
URL: https://gcc.gnu.org/viewcvs?rev=227942&root=gcc&view=rev
Log:
[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.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wuninitialized-6.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-dom.c
trunk/gcc/tree-ssa-dom.h
trunk/gcc/tree-ssa-threadedge.c
More information about the Gcc-bugs
mailing list