r263100 - in /trunk/gcc/ada: ChangeLog lib-writ...
pmderodat@gcc.gnu.org
pmderodat@gcc.gnu.org
Tue Jul 31 09:56:00 GMT 2018
Author: pmderodat
Date: Tue Jul 31 09:56:15 2018
New Revision: 263100
URL: https://gcc.gnu.org/viewcvs?rev=263100&root=gcc&view=rev
Log:
[Ada] GNATmake fails to detect missing body
This patch corrects an issue whereby building a multi-unit compilation with
missing sources resulted in a cryptic "code generation" error instead of the
appropriate file not found error.
------------
-- Source --
------------
-- main.adb
with Types;
procedure Main is
begin
null;
end;
-- types.ads
package Types is
procedure Force;
end;
----------------------------
-- Compilation and output --
----------------------------
& gnatmake -q main.adb
gnatmake: "types.adb" not found
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.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/lib-writ.adb
trunk/gcc/ada/lib-writ.ads
More information about the Gcc-cvs
mailing list