Hi Eric,

On 23/01/16 10:25, Eric Botcazou wrote:
I think we was inlining them with LTO until I installed the patch.  Most of
time DECL_STRUCT_FUNCTION == NULL for WPA and thus the original check
testing the flags was disabled.  We did not update the EH coddegen during
inlining, so probably we just did not produce non-call EH for these.

OK, we may have inlined them after all...  My understanding of the new code is
that we will still inline them if the Ada callee doesn't use EH, which is good
enough in my opinion.

it would be nice to also inline if the caller doesn't use EH even if the callee does, for example when calling Ada from C.

Best wishes, Duncan.

Reply via email to