Re: [PATCHv2] Change recursive prepare_block_for_update to use a worklist

2020-01-21 Thread Richard Biener
On Tue, Jan 21, 2020 at 10:27 AM wrote: > > From: Andrew Pinski > > 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 testcas

[PATCHv2] Change recursive prepare_block_for_update to use a worklist

2020-01-21 Thread apinski
From: Andrew Pinski 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 OK? Bootstrapped and tested on