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: Eric Botcazou <ebotcazou at adacore dot com>
- To: Trevor Saunders <tbsaunde at tbsaunde dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Biener <richard dot guenther at gmail dot com>, Richard Sandiford <richard dot sandiford at linaro dot org>
- Date: Tue, 31 Oct 2017 18:22:53 +0100
- Subject: Re: [09/nn] Add a fixed_size_mode_pod class
- Authentication-results: sourceware.org; auth=none
- References: <87wp3mxgir.fsf@linaro.org> <2844617.BtP9k82yMO@polaris> <20171031102624.fh3zzuzwhyzvlhbg@ball>
> I don't see a reason not to other than a pretty small amount of work
> each time we make a release.
I'm not sure it would be so small an amount of work, especially on non-Linux
platforms, so this would IMO divert our resources for little benefit.
> Well first this would only matter to the 0.01% of people who want to do
> that on AIX or Solaris machines, not the vast majority of possible
> contributors who already use clang or gcc as there system compiler.
Yes, but we're GCC, not Clang, and we support more than Linux and Darwin.
> Thirdly making it easier to work on the compiler and understand it makes
> things easier for those possible contributors, so if being able to use
> C++11 advances that goalthings could be better over all for possible
> contributors with different system compilers.
I don't buy this at all. You don't need bleeding edge C++ features to build a
compiler and people don't work on compilers to use bleeding edge C++. Using a
narrow and sensible set of C++ features was one of the conditions under which
the switch to C++ as implementation language was accepted at the time.
--
Eric Botcazou