aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2017-06-01 14:14:29 +0200
committerMartin Jambor <jamborm@gcc.gnu.org>2017-06-01 14:14:29 +0200
commitc8638450abe8a406813652eae4f9e7b3cb3bece4 (patch)
tree4fddb5aa4bc1185eb3bc05e4fc510a14a8d1b53c /gcc/c
parent4ba66aee9e94f1bfb82fbebac661ad60cbce1176 (diff)
downloadgcc-c8638450abe8a406813652eae4f9e7b3cb3bece4.zip
gcc-c8638450abe8a406813652eae4f9e7b3cb3bece4.tar.gz
gcc-c8638450abe8a406813652eae4f9e7b3cb3bece4.tar.bz2
[PR 80898] Propagate grp_write from disqualified SRA candidates
2017-06-01 Martin Jambor <mjambor@suse.cz> PR tree-optimization/80898 * tree-sra.c (process_subtree_disqualification): Removed. (disqualify_candidate): Do not acll process_subtree_disqualification. (subtree_mark_written_and_enqueue): New function. (propagate_all_subaccesses): Set grp_write of LHS subtree if the RHS has been disqualified and re-queue LHS if necessary. Apart from that, ignore disqualified RHS. testsuite/ * gcc.dg/tree-ssa/pr80898.c: New test. * gcc.dg/tree-ssa/pr80898-2.c: Likewise. From-SVN: r248790
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions