diff options
author | Martin Jambor <mjambor@suse.cz> | 2009-11-24 11:56:14 +0100 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2009-11-24 11:56:14 +0100 |
commit | 09f0dc451db76a059e097c7cd115d65a86dff66e (patch) | |
tree | 0794dd3cad6d264dc0489fcc003758e493444d8f /gcc/tree-ssa-dce.c | |
parent | 6c03662614375d5b608d27a46861229f372f29bf (diff) | |
download | gcc-09f0dc451db76a059e097c7cd115d65a86dff66e.zip gcc-09f0dc451db76a059e097c7cd115d65a86dff66e.tar.gz gcc-09f0dc451db76a059e097c7cd115d65a86dff66e.tar.bz2 |
re PR tree-optimization/42154 (Wrong code from (early) SRA)
2009-11-24 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/42154
* tree-sra.c (struct access): Added comments.
(sra_modify_expr): Build references to the old aggregate with
build_ref_for_offset instead of reusing access->expr.
(load_assign_lhs_subreplacements): Likewise.
* testsuite/gcc.c-torture/execute/pr42154.c: New test.
From-SVN: r154493
Diffstat (limited to 'gcc/tree-ssa-dce.c')
0 files changed, 0 insertions, 0 deletions