This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [REPOST] MT-safe exception diffs for 971207
- To: egcs at cygnus dot com
- Subject: Re: [REPOST] MT-safe exception diffs for 971207
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 12 Dec 1997 11:31:26 -0500
- Reply-To: egcs at cygnus dot com
>>>>> 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