This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Restore cross-language inlining into Ada
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: Arnaud Charlet <charlet at adacore dot com>, gcc-patches at gcc dot gnu dot org, Jan Hubicka <hubicka at ucw dot cz>, Richard Biener <richard dot guenther at gmail dot com>
- Date: Fri, 22 Jan 2016 19:22:49 +0100
- Subject: Re: [patch] Restore cross-language inlining into Ada
- Authentication-results: sourceware.org; auth=none
- References: <9690839 dot xiTXAUyZ0b at polaris> <2035209 dot u6vJZNY7xx at polaris> <20160122121156 dot GB19593 at adacore dot com> <3636058 dot OAbOLIfQX4 at polaris>
> > Why do you say so? There are C->Ada calls as there are Ada->C calls in
> > plenty of existing software.
>
> But what percentage of the C->Ada ones are performance critical? Note that,
> unlike the Ada->C or Ada/C++ ones, these have never been inlined and I can
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.
Honza