2018-05-22 Bob Duff <duff@adacore.com>
gcc/ada/
* binde.adb: (Choose): Ignore a pragma Elaborate_Body that appears in
the spec of a SAL_Interface package.
From-SVN: r260517
+2018-05-22 Bob Duff <duff@adacore.com>
+
+ * binde.adb: (Choose): Ignore a pragma Elaborate_Body that appears in
+ the spec of a SAL_Interface package.
+
2018-05-22 Ed Schonberg <schonberg@adacore.com>
* freeze.adb (Freeze_Entity): When analyzing delayed aspects of an
and then Units.Table (Chosen).RCI
then
null;
+
+ -- If this unit is an interface to a stand-alone library, then we
+ -- don't want to elaborate the body -- that will happen as part of
+ -- the library.
+
+ elsif Units.Table (Chosen).SAL_Interface then
+ null;
+
else
Choose
(Elab_Order => Elab_Order,