This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 at codesourcery dot com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]