------- Comment #8 from samuel dot thibault at ens-lyon dot org  2005-10-28 
08:27 -------
Subject: Re:  gcc can't inline functions using setjmp

pinskia at gcc dot gnu dot org, le Fri 28 Oct 2005 01:39:59 -0000, a écrit :
> So this is not a bug.

Yes this is a bug. The docs for setjmp are really clear about the fact
automatic variables of the callee might be thrashed, but that doesn't
entail that the callee can't be inlined. Gcc doesn't implement anything
for getting semantic right, but it is feasible, I explained how. So it
is a bug.

But you don't want to fix it. Too bad for us.
I thought that "An Inline Function is As Fast As a Macro". It is not.
<grin>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24556

Reply via email to