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: Pedro Alves <palves at redhat dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>, Jakub Jelinek <jakub at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Sandiford <richard dot sandiford at linaro dot org>
- Date: Fri, 27 Oct 2017 11:17:32 +0100
- Subject: Re: [09/nn] Add a fixed_size_mode_pod class
- Authentication-results: sourceware.org; auth=none
- References: <87wp3mxgir.fsf@linaro.org> <87tvyqw1ki.fsf@linaro.org> <CAFiYyc2HVnJSurbSk=_4hwmg__hdkq_7EQfk1PFwP8AtFxv3Gg@mail.gmail.com> <87y3ny14rf.fsf@linaro.org> <CAFiYyc35qW0WyLEPgPy4Z7SdFZXqB=mjU=wATv=qNZfNwtV18w@mail.gmail.com> <20171026194356.GV14653@tucnak> <CAFiYyc1WB9n=AYEV8F2ojaUnSBSEbXc_FMvWm=N_CykUY21hHA@mail.gmail.com>
On 10/27/2017 09:35 AM, Richard Biener wrote:
> On Thu, Oct 26, 2017 at 9:43 PM, Jakub Jelinek <jakub@redhat.com> wrote:
>> On Thu, Oct 26, 2017 at 02:43:55PM +0200, Richard Biener wrote:
>>> Can you figure what oldest GCC release supports the C++11/14 POD handling
>>> that would be required?
>>
>> I think it is too early for that, we aren't LLVM or Rust that don't really
>> care about what build requirements they impose on users.
>
> That's true, which is why I asked. For me requiring sth newer than GCC 4.8
> would be a blocker given that's the system compiler on our latest server
> (and "stable" OSS) product.
>
> I guess it depends on the amount of pain we have going forward with C++
> use in GCC. Given that gdb already requires C++11 people building
> GCC are likely already experiencing the "issue".
Right, GDB's baseline is GCC 4.8 too. When GDB was deciding whether
to start requiring full C++11 (about a year ago), we looked at the
latest stable release of all the "big" distros to see whether:
#1 - the system compiler was new enough (gcc >= 4.8), or failing
that,
#2 - whether there's an easy to install package providing a
new-enough compiler.
and it turns out that that was true for all. Meanwhile another year
has passed and there have been no complaints.
Thanks,
Pedro Alves