[Bug tree-optimization/30375] [4.3 Regression] tree-ssa-dse incorrectly removes struct initialization
aldyh at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 9 20:05:00 GMT 2007
------- Comment #9 from aldyh at gcc dot gnu dot org 2007-03-09 20:05 -------
Subject: Bug 30375
Author: aldyh
Date: Fri Mar 9 20:05:08 2007
New Revision: 122758
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122758
Log:
PR tree-optimization/30375
* tree-ssa-dse.c (dse_possible_dead_store_p): Do not eliminate if
LHS of statements is not the same.
* testsuite/gcc.dg/tree-ssa/ssa-dse-10.c: New.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-10.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-dse.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30375
More information about the Gcc-bugs
mailing list