Re: [PATCH] Manually handle recursiveness in prepare_block_for_update

2020-01-20 Thread Richard Biener
On Mon, Jan 20, 2020 at 2:39 AM wrote: > > From: Andrew Pinski > > Reported as PR 93321, prepare_block_for_update with some huge > recusive inlining can go past the stack limit. The loop > at the end, could be transformed such that the last iteration goes > back to the begining of the function i

[PATCH] Manually handle recursiveness in prepare_block_for_update

2020-01-19 Thread apinski
From: Andrew Pinski Reported as PR 93321, prepare_block_for_update with some huge recusive inlining can go past the stack limit. The loop at the end, could be transformed such that the last iteration goes back to the begining of the function instead of the call. This reduces the stack usage and