diff options
author | Richard Biener <rguenther@suse.de> | 2020-12-08 09:45:57 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-12-08 10:36:47 +0100 |
commit | a294e6368f80ac27c5150414027d1cf2a21bd9b7 (patch) | |
tree | 6197ad62b1f7ec2c39deaaad7ed3b459ec6d17b9 /gcc/fortran/dump-parse-tree.c | |
parent | 3a6e3ad38a17a03ee0139b49a0946e7b9ded1eb1 (diff) | |
download | gcc-a294e6368f80ac27c5150414027d1cf2a21bd9b7.zip gcc-a294e6368f80ac27c5150414027d1cf2a21bd9b7.tar.gz gcc-a294e6368f80ac27c5150414027d1cf2a21bd9b7.tar.bz2 |
tree-optimization/97559 - fix sinking in irreducible regions
This fixes sinking of loads when irreducible regions are involved
and the heuristics to find stores on the path along the sink
breaks down since that uses dominator queries.
2020-12-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/97559
* tree-ssa-sink.c (statement_sink_location): Never ignore
PHIs on sink paths in irreducible regions.
* gcc.dg/torture/pr97559-1.c: New testcase.
* gcc.dg/torture/pr97559-2.c: Likewise.
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
0 files changed, 0 insertions, 0 deletions