[Bug middle-end/61912] Missed (partial) dead store elimination for structures on GIMPLE
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 13 15:47:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61912
--- Comment #6 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Fri Jan 13 15:46:22 2017
New Revision: 244443
URL: https://gcc.gnu.org/viewcvs?rev=244443&root=gcc&view=rev
Log:
PR tree-optimization/61912
PR tree-optimization/77485
* tree-ssa-dse.c: Include expr.h.
(maybe_trim_constructor_store): New function.
(maybe_trim_partially_dead_store): Call maybe_trim_constructor_store.
PR tree-optimization/61912
PR tree-optimization/77485
* g++.dg/tree-ssa/ssa-dse-1.C: New test.
* gcc.dg/tree-ssa/pr30375: Adjust expected output.
* gcc.dg/tree-ssa/ssa-dse-24.c: New test.
Added:
trunk/gcc/testsuite/g++.dg/tree-ssa/ssa-dse-1.C
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-24.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr30375.c
trunk/gcc/tree-ssa-dse.c
More information about the Gcc-bugs
mailing list