On 12/04/14 07:29, Sebastian Pop wrote:
Sebastian Pop wrote:
Jeff Law wrote:
I'm a bit worried about compile-time impacts of the all the
recursion
I will also restrict the recursion to the loop in which we look for the FSM
thread.
The attached patch includes this change. It passed bootstrap and regression
test on x86_64-linux. Ok to commit?
OK to commit. Thanks for your patience.
Can you follow-up with a change which throttles this optimization when
-Os is in effect. You can check optimize_function_for_size_p (cfun) and
simply avoid the backward traversal or you could allow it in that case
if the amount of copying is suitably small. Your call.
jeff