This is the mail archive of the gcc@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]

Re: turning throw into a jump


On Mon, Jul 23, 2001 at 09:58:40PM +0200, Sylvain Pion wrote:
> I noticed that throw() seems slower with GCC 3.0 rather than 2.95 :(
> I wonder if it would be possible to turn a throw() which is local inside a
> try{} block (including after inlining) into a simple jump, which would make
> it much faster...  Maybe something else also useful would be get rid of the
> whole exception code when the compiler can show that the code inside a try
> block cannot throw.  Is this doable ?

Not only doable, but all of what you suggest is already done.


r~


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