C++ PATCH: Improve exceptions/inlining compile-time performance

Mark Mitchell mark@codesourcery.com
Wed Apr 23 18:32:00 GMT 2003


On Wed, 2003-04-23 at 10:52, Richard Henderson wrote:
> On Wed, Apr 23, 2003 at 10:13:39AM +0200, Richard Guenther wrote:
> > So to apply this optimization one would have to mark the method
> > attribute((always_inline)) throw() - then thread cancellation
> > will work in all cases?
> 
> No.  Inlining changes nothing.  There will *still* be an
> exception specification note in the code that will cause
> cleanups to be elided.

Yes, you're right.  That aspect of my reply to Richard Guenther was
clearly in error.

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com



More information about the Gcc-patches mailing list