[LLVMbugs] [Bug 13102] Clang generating wrong rethrow call for a unique case of function try block.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 14 22:30:54 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13102

John McCall <rjmccall at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rjmccall at apple.com
         Resolution|                            |FIXED

--- Comment #2 from John McCall <rjmccall at apple.com> 2012-06-15 00:30:54 CDT ---
My mistake was pretty straightforward:  there's no reason to push a normal
cleanup here, because we don't want to intercept returns and no other normal
control flow is possible.  Instead we should just emit the rethrow if control
makes it to the end of the handler.

Fixed in r158488.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list