From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Edelsohn To: egcs@cygnus.com Subject: Re: [REPOST] MT-safe exception diffs for 971207 Date: Fri, 12 Dec 1997 08:32:00 -0000 Message-id: <9712121631.AA22060@rios1.watson.ibm.com> References: <199712120901.KAA04960@baht.labs.trema.com> X-SW-Source: 1997-12/msg00737.html >>>>> Jason Merrill writes: Jason> I also moved the call to the top of the function, Jason> since the first use might be in a conditional. >>>>> Teemu Torma writes: Teemu> Please note that the USE insn is already at the beginning (after last parm Teemu> insn), and emit_eh_context emits the call just before the USE insn. When Teemu> the compiler compiles inline functions as standalone at the end of the Teemu> compilation, last parm insn is not updated and can not be used. Just as an aside, this is why good documentation in comments in the code is important. If someone else works on this exception handling code, he or she should not have to look in the egcs mailinglist for explanations of subtle design decisions. David