[REPOST] MT-safe exception diffs for 971207

David Edelsohn dje@watson.ibm.com
Fri Dec 12 08:32:00 GMT 1997


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




More information about the Gcc mailing list