http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51117
Richard Henderson <rth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2011-11-29 CC| |rth at gcc dot gnu.org Resolution|MOVED | Ever Confirmed|0 |1 --- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2011-11-29 18:06:55 UTC --- I think this is a gcc bug. In particular, one of two things ought to happen: (1) Use the form of try_finally that ignores EH. This would lose clobber information on EH paths; dunno if this really turns out to be important. (2) Remove EH cleanup handlers that only involve clobbers which lead to function exit via REX. This would wait until pass_lower_eh_dispatch, as that's the first point at which we know whether we actually exit the function, post-inlining.