C++ PATCH to initialize_handler_parm for c++/31411

Jason Merrill jason@redhat.com
Wed Sep 5 01:03:00 GMT 2007


Andrew Pinski wrote:
> Can you use fold_build_cleanup_point_expr instead of "build1
> (CLEANUP_POINT_EXPR" ?  This should help out with creating too many
> exception regions at -O0 and will keep -O0 fast.

This change doesn't create any more exception regions; we still get one 
per cleanup.  But sure, it wouldn't hurt to use that routine.

Tested x86_64-pc-linux-gnu, applied to trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: catch2.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070905/27aae643/attachment.bin>


More information about the Gcc-patches mailing list