sem_ch12.adb (In_Main_Context): Predicate to determine whether the current instance...
authorEd Schonberg <schonber@gnat.com>
Wed, 27 Oct 2004 13:40:55 +0000 (15:40 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 27 Oct 2004 13:40:55 +0000 (15:40 +0200)
commit03c79279d6c71b36a3d411650481230674d88c61
treec3b03b1a46d0310adb9a61c2e63e813d71ab7548
parent10b6063358b80caf65dbab1ac0dd3844a3b9a8ac
sem_ch12.adb (In_Main_Context): Predicate to determine whether the current instance appears within a unit that...

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

* sem_ch12.adb (In_Main_Context): Predicate to determine whether the
current instance appears within a unit that is directly in the context
of the main unit.
Used to determine whether the body of the instance should be analyzed
immediately after its spec, to make its subprogram bodies available
for front-end inlining.
(Analyze_Formal_Array_Type): Cleanup condition that checks that range
constraint is not allowed on the component type (AARM 12.5.3(3))

From-SVN: r89667
gcc/ada/sem_ch12.adb