diff options
author | Ed Schonberg <schonberg@adacore.com> | 2011-08-02 15:04:46 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 17:04:46 +0200 |
commit | d2b10647195d645708ad8cfc09fa0adf4a394224 (patch) | |
tree | f56b7bc0e4d5ca310780b045799c0f003bb066b2 /gcc/ada/link.c | |
parent | c7b9d548d3533d6b48dcdfb882e5ce424f3d53c4 (diff) | |
download | gcc-d2b10647195d645708ad8cfc09fa0adf4a394224.zip gcc-d2b10647195d645708ad8cfc09fa0adf4a394224.tar.gz gcc-d2b10647195d645708ad8cfc09fa0adf4a394224.tar.bz2 |
sem_ch6 (Analyze_Expression_Function): treat the function as Inline_Always...
2011-08-02 Ed Schonberg <schonberg@adacore.com>
* sem_ch6 (Analyze_Expression_Function): treat the function as
Inline_Always, and introduce a subprogram declaration for it when it is
not a completion.
* inline.adb (Add_Inlined_Body): recognize bodies that come from
expression functions, so that the back-end can determine whether they
can in fact be inlined.
* sem_util.adb (Is_Expression_Function): predicate to determine whether
a function body comes from an expression function.
From-SVN: r177173
Diffstat (limited to 'gcc/ada/link.c')
0 files changed, 0 insertions, 0 deletions