------- 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