Hello,

The patch attached at http://gcc.gnu.org/ml/gcc/2012-06/msg00261.html
was just barely enough to get gnat1 compiled but failed on compiling the
rts files.  Please replace it by the patch here.  (This one is against
gcc/trunk r162542 of 2010-07-26 but I'm moving forward these days.)

One occasional ALI difference wrt single compile mode is the unit
number appearing in 'X' lines, for example:

--- single/blanks_to_underscores.ali  2012-06-23 18:15:09
+++ multi/blanks_to_underscores.ali   2012-06-23 19:07:39
@@ -7,20 +7,17 @@
 .....
-X 3 blanks_to_underscores.adb
+X 1 blanks_to_underscores.adb

In multi source compilations, main units may get assigned different
unit numbers than in single source compilations; this is due to the
reuse of entries in the Lib.Units table.

Is that tolerable?

Thanks,

Oliver


On 2012-06-17 17:12, Oliver Kellogg wrote:
> 
> Continuing on from http://gcc.gnu.org/ml/gcc/2012-04/msg00654.html,
> [...]
> Here is my current patch (against trunk r158428), plus a test case
> that demonstrates the fix for the problem described, and also shows
> remaining problems with ALI generation in the multi source compile
> mode.
> 

Attachment: gnat1_multi_source_compile-4.diff.gz
Description: GNU Zip compressed data

Reply via email to