OSDN Git Service

2004-10-26 Ed Schonberg <schonberg@gnat.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Oct 2004 13:42:11 +0000 (13:42 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Oct 2004 13:42:11 +0000 (13:42 +0000)
commit23cd5405c731748096f5def31fae04ba03459988
tree07a384fbd35b7910bbc897e835f6145a35982fdf
parent357ed5ca230f3681b131b264ab5bc27efa9d3226
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89671 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/sem_ch6.adb