Re: [PATCH] Fix missing EH updates in execute_cse_sincos (PR tree-optimization/54563)

2012-09-17 Thread Richard Guenther
On Sun, Sep 16, 2012 at 5:55 PM, Jakub Jelinek ja...@redhat.com wrote: Hi! As discussed in the PR, this patch fixes the ICE by calling gimple_purge_dead_eh_edges if the last stmt has been replaced by the pass. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? Still, I

[PATCH] Fix missing EH updates in execute_cse_sincos (PR tree-optimization/54563)

2012-09-16 Thread Jakub Jelinek
Hi! As discussed in the PR, this patch fixes the ICE by calling gimple_purge_dead_eh_edges if the last stmt has been replaced by the pass. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? Still, I think it would be nice if e.g. powf or cosl were throw() in C++, at least if