Re: Fix PR tree-optimization/54669

2012-09-23 Thread Richard Guenther
On Sat, Sep 22, 2012 at 10:30 PM, Eric Botcazou wrote: > As demonstrated by the testcase, the new propagate_constants_for_unrolling can > change the EH properties of a statement when it turns array accesses with > variable index into array accesses with fixed index if -fnon-call-exception is > ena

Fix PR tree-optimization/54669

2012-09-22 Thread Eric Botcazou
As demonstrated by the testcase, the new propagate_constants_for_unrolling can change the EH properties of a statement when it turns array accesses with variable index into array accesses with fixed index if -fnon-call-exception is enabled. The proposed fix is to call maybe_clean_or_replace_eh_