[Ada] Set Always_Compatible_Rep to False everywhere

Tristan Gingold gingold@adacore.com
Mon Oct 17 07:30:00 GMT 2016


> On 16 Oct 2016, at 21:40, Eric Botcazou <ebotcazou@adacore.com> wrote:
> 
>> Can this be refactored to avoid having to duplicate the whole file for
>> every target?
> 
> I'm not sure, maybe entries could be omitted if they match the default though.

Some files could be easily merged (like what was done for ppc and ppc-64).  For example:

$ diff system-linux-x86*
8c8
< --                         (GNU-Linux/x86 Version)                          --
---
> --                       (GNU-Linux/x86-64 Version)                         --
72,73c72,73
<    Word_Size    : constant := 32;
<    Memory_Size  : constant := 2 ** 32;
---
>    Word_Size    : constant := Standard'Word_Size;
>    Memory_Size  : constant := 2 ** Word_Size;


Tristan.



More information about the Gcc-patches mailing list