This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Set Always_Compatible_Rep to False everywhere
- From: Tristan Gingold <gingold at adacore dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: Andreas Schwab <schwab at linux-m68k dot org>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 17 Oct 2016 09:29:54 +0200
- Subject: Re: [Ada] Set Always_Compatible_Rep to False everywhere
- Authentication-results: sourceware.org; auth=none
- References: <1880942.pWPxnqiVVY@polaris> <87funw8jd2.fsf@linux-m68k.org> <2170633.HAsu3zgS9W@polaris>
> 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.