]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/30375 (tree-ssa-dse incorrectly removes struct initialization)
authorAldy Hernandez <aldyh@redhat.com>
Fri, 9 Mar 2007 20:05:08 +0000 (20:05 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Fri, 9 Mar 2007 20:05:08 +0000 (20:05 +0000)
commit0f84b066791763e603fa12330f381bef3353d4e8
treec9430a0a92da8d81b5ec3f994b8012825972f9ba
parent3f868e1cefd522190eeac6c6ad662bfd3a277d21
re PR tree-optimization/30375 (tree-ssa-dse incorrectly removes struct initialization)

        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.

From-SVN: r122758
gcc/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-10.c [new file with mode: 0644]
gcc/tree-ssa-dse.c