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

[Bug middle-end/24556] gcc can't inline functions using setjmp



------- Comment #9 from pinskia at gcc dot gnu dot org  2005-10-28 14:18 -------
(In reply to comment #8)
> 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.

Actually there is no easy way to implement that as the information about what
function is inlined where is lost very early on.


-- 


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


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