diff options
author | Richard Biener <rguenther@suse.de> | 2021-11-15 11:07:55 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-11-15 11:10:16 +0100 |
commit | d1ca8aeaf34a717dffd8f4a1f0333d25c7d1c904 (patch) | |
tree | 12c012ce8f53fcbff9b03e8b7cd492727d1bec3c /gcc/tree-vect-loop.c | |
parent | 2551cd4f9bc1afee444a56e03c1cee6899593da9 (diff) | |
download | gcc-d1ca8aeaf34a717dffd8f4a1f0333d25c7d1c904.zip gcc-d1ca8aeaf34a717dffd8f4a1f0333d25c7d1c904.tar.gz gcc-d1ca8aeaf34a717dffd8f4a1f0333d25c7d1c904.tar.bz2 |
tree-optimization/103219 - avoid ICE in unroll-and-jam
For no particularly good reason unroll-and-jam uses single_dom_exit
to determine the exit for the region it wants to run VN on. That
happens to ICE because of the dominance restriction. Use single_exit
instead.
2021-11-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/103219
* gimple-loop-jam.c (tree_loop_unroll_and_jam): Use single_exit
to determine the exit for the VN region.
* gcc.dg/torture/pr103219.c: New testcase.
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions