sem.adb (Semantics, [...]): Include dependents of bodies that are not included.
commit4f18d8607e6c2ad919ea442934ba367e4f8a35d2
authorBob Duff <duff@adacore.com>
Mon, 20 Apr 2009 12:42:34 +0000 (20 12:42 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 20 Apr 2009 12:42:34 +0000 (20 14:42 +0200)
tree2ad41876022a0508ae7510191d1a543de776f747
parent451800a05775791230db1793e575296eae3b98bc
sem.adb (Semantics, [...]): Include dependents of bodies that are not included.

2009-04-20  Bob Duff  <duff@adacore.com>

* sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies
that are not included. This is necessary if the main unit is a generic
instantiation.

* gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items,
because it doesn't work if -gnatn is used.

From-SVN: r146408
gcc/ada/ChangeLog
gcc/ada/gnat1drv.adb
gcc/ada/sem.adb