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: Arnaud Charlet <charlet at adacore dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, gcc-patches at gcc dot gnu dot org, Richard Biener <richard dot guenther at gmail dot com>
- Date: Fri, 22 Jan 2016 13:11:56 +0100
- Subject: Re: [patch] Restore cross-language inlining into Ada
- Authentication-results: sourceware.org; auth=none
- References: <9690839 dot xiTXAUyZ0b at polaris> <1712344 dot lljgTvaZVQ at polaris> <20160122120036 dot GB98233 at kam dot mff dot cuni dot cz> <2035209 dot u6vJZNY7xx at polaris>
> > Hmm, I see now. I wonder if we can also inline
> > can_thorw_non_call_exceptions to !can_throw_non_call_exceptions
> > provied
> > that we set the flag in ipa-inline-transform. That way we can inline Ada to
> > C and the observation about no EH regions should still hold.
>
> I'd say you're the only one caring about inlining Ada into other languages
> ;-)
Why do you say so? There are C->Ada calls as there are Ada->C calls in
plenty of existing software.
Arno