This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] Set Always_Compatible_Rep to False everywhere


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]