This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [09/nn] Add a fixed_size_mode_pod class
- From: Richard Sandiford <richard dot sandiford at linaro dot org>
- To: Trevor Saunders <tbsaunde at tbsaunde dot org>
- Cc: Eric Botcazou <ebotcazou at adacore dot com>, Richard Biener <richard dot guenther at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Oct 2017 08:24:01 +0000
- Subject: Re: [09/nn] Add a fixed_size_mode_pod class
- Authentication-results: sourceware.org; auth=none
- References: <87wp3mxgir.fsf@linaro.org> <87y3ny14rf.fsf@linaro.org> <CAFiYyc35qW0WyLEPgPy4Z7SdFZXqB=mjU=wATv=qNZfNwtV18w@mail.gmail.com> <3100781.Bqs18LrnqX@polaris> <20171030024142.g4padww3krzjgtmo@ball>
Trevor Saunders <tbsaunde@tbsaunde.org> writes:
> On Thu, Oct 26, 2017 at 09:37:31PM +0200, Eric Botcazou wrote:
>> > Can you figure what oldest GCC release supports the C++11/14 POD handling
>> > that would be required?
>>
>> GCC needs to be buildable by other compilers than itself though.
>
> It sounds like people are mostly concerned about sun studio and xlc? It
> doesn't seem that hard to provide precompiled binaries for those two
> platforms, and maybe 4.8 binaries for people who want to compile theire
> own gcc from source. If that would be enough to deal with people
> concerns it seems doable by next stage 1?
Would it be worth supporting a 4-stage bootstrap, with stage 0 being
built from older gcc sources? We could include a contrib/ script that
downloads sources for gcc-4.7 or whatever and patches it to build with
modern as well as old compilers. (When I tried gcc-4.7 last week,
I needed a couple of tweaks to get it to build.)
Not that I'd have time try that before GCC 9...
Thanks,
Richard