sem_ch6.adb (Build_Body_To_Inline): Enforce the rule that in order to inline a functi...
authorEd Schonberg <schonberg@adacore.com>
Fri, 17 Feb 2006 16:08:18 +0000 (17:08 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 17 Feb 2006 16:08:18 +0000 (17:08 +0100)
commit08402a6d65a25da348c28c0a539dd0923ff976d6
treec1fa03b193cef9a8d00f313fc3f07caaa0eb3cb2
parent030d25f41343f0996b56368a54e609959428a0c6
sem_ch6.adb (Build_Body_To_Inline): Enforce the rule that in order to inline a function that returns an...

2006-02-17  Ed Schonberg  <schonberg@adacore.com>

* sem_ch6.adb (Build_Body_To_Inline): Enforce the rule that in order
to inline a function that returns an unconstrained type, the return
expression must be the first variable declared in the body of the
function.

From-SVN: r111194
gcc/ada/sem_ch6.adb