This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/30375] [4.3 Regression] tree-ssa-dse incorrectly removes struct initialization
- From: "aldyh at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Mar 2007 20:05:19 -0000
- Subject: [Bug tree-optimization/30375] [4.3 Regression] tree-ssa-dse incorrectly removes struct initialization
- References: <bug-30375-3760@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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