diff options
author | Andrew Pinski <apinski@marvell.com> | 2020-01-21 08:34:42 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2020-01-21 11:17:26 +0000 |
commit | 6fc2f9337311c11dabcc464c808cbef205f17a52 (patch) | |
tree | 01d4541f9ee44e2a51cb51e69c6f43312a4afcff /gcc/tree-loop-distribution.c | |
parent | f0aec8643830a50812aeec0296086ed338aac678 (diff) | |
download | gcc-6fc2f9337311c11dabcc464c808cbef205f17a52.zip gcc-6fc2f9337311c11dabcc464c808cbef205f17a52.tar.gz gcc-6fc2f9337311c11dabcc464c808cbef205f17a52.tar.bz2 |
Change recursive prepare_block_for_update to use a worklist
Reported as PR 93321, prepare_block_for_update with some huge
recusive inlining can go past the stack limit. Transforming this
recursive into worklist improves the stack usage here and we no
longer seg fault for the testcase. Note the order we walk the siblings
change.
ChangeLog:
PR tree-opt/93321
* tree-into-ssa.c (prepare_block_for_update_1): Split out from ...
(prepare_block_for_update): This. Use a worklist instead of recursing.
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions