[Ada] Regression in partial compilation of RCI units
commit05a84157e98dfb25500705c0bc2570139a01075f
authorJustin Squirek <squirek@adacore.com>
Wed, 26 Sep 2018 09:16:59 +0000 (26 09:16 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 26 Sep 2018 09:16:59 +0000 (26 09:16 +0000)
treefe7a4be7651eb66ca19924080fef985322cfbc30
parent738b83cd32bc4ebf651ef517cd880f04500d07af
[Ada] Regression in partial compilation of RCI units

This patch fixes an issue whereby the compilation of partial sources
(packages without bodies that require them) would not occur when said
sources were remote call interfaces. This is required because such
interfaces may have bodies that only exist on the server side or vice
versa

2018-09-26  Justin Squirek  <squirek@adacore.com>

gcc/ada/

* lib-writ.adb, lib-writ.ads (Write_With_Lines): Add
documentation and an extra conditional check for RCI units so
that generated ali files will list the spec only instead of a
body when a body is not found.

From-SVN: r264608
gcc/ada/ChangeLog
gcc/ada/lib-writ.adb
gcc/ada/lib-writ.ads