The patch fixes PR48633 described on http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48633. The patch was successfully bootstrapped on x86-64. Ok to commit? 2011-05-13 Vladimir Makarov PR rtl-optimization/48633 * ira-build.c (loop_with_eh_edge_p): New function. (mark_loops_for_removal): Use it. 2011-05-13 Michael Matz PR rtl-optimization/48633 * g++.dg/pr48633.C: New test.