[Ada] Revert recent changes in the generation of deps in ali files
authorJustin Squirek <squirek@adacore.com>
Tue, 8 Jan 2019 09:52:32 +0000 (09:52 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 8 Jan 2019 09:52:32 +0000 (09:52 +0000)
commit713125282e264e5203f725ec969468d26cc966a1
tree900b3f8f441df990d782b536fb2a8ed92c0522ff
parent30fa2068a3d4317b5b2282eb2e37e98aedfcbf4e
[Ada] Revert recent changes in the generation of deps in ali files

Following the discovery of regressions in GPRbuild, this reverts both
r263100 and r264608:

2019-01-08  Justin Squirek  <squirek@adacore.com>

Revert:

2018-07-31  Justin Squirek  <squirek@adacore.com>

gcc/ada/

* lib-writ.adb (Write_With_Lines): Modfiy the generation
of dependencies within ali files so that source unit
bodies are properly listed even if said bodies are
missing.  Perform legacy behavior in GNATprove mode.
* lib-writ.ads: Modify documentation to reflect current
behavior.

and:

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: r267680
gcc/ada/ChangeLog
gcc/ada/lib-writ.adb
gcc/ada/lib-writ.ads