sem_ch6.adb (Analyze_Subprogram_Body): If body is a subunit for a different kind...
authorEd Schonberg <schonber@gnat.com>
Wed, 27 Oct 2004 13:42:11 +0000 (15:42 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 27 Oct 2004 13:42:11 +0000 (15:42 +0200)
commite895b4353e55d9c4bacb17be111deda3329ec095
tree07a384fbd35b7910bbc897e835f6145a35982fdf
parentfc4039b93cf1fc1cb12db5cf06b7a9cd3ced2c1a
sem_ch6.adb (Analyze_Subprogram_Body): If body is a subunit for a different kind of stub (possibly wrong name for file)...

2004-10-26  Ed Schonberg  <schonberg@gnat.com>

* sem_ch6.adb (Analyze_Subprogram_Body): If body is a subunit for a
different kind of stub (possibly wrong name for file), do not check
for conformance.
(Uses_Secondary_Stack): New subsidiary to Build_Body_To_Inline. If body
includes call to some function that returns an unconstrained type, do
not inline.

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