On Wed, Oct 16, 2024 at 5:14 PM Jakub Jelinek <ja...@redhat.com> wrote:
>
> On Wed, Oct 16, 2024 at 11:04:32AM -0400, Jason Merrill wrote:
> > > Alternatively, systems (that care about Ada and D) running 4.7 could
> > > build 10.5, systems running 4.8 could build 11.5.
> >
> > Here's an updated patch.  I tested C++14 bootstrap again with 5.x compilers,
> > and Jakub's dwarf2asm change breaks on 5.3 due to PR69995, while 5.4
>
> The dwarf2asm and libcpp _cpp_trigraph_map changes were just optimizations,
> so if we wanted, we could just guard it with additional __GCC_PREREQ (5, 4)
> or similar.
>
> > successfully bootstraps.
> >
> > I also added the 9.5 recommendation.
>
> > From 87e90d3677a6211b5bb9fc6865b987203a819108 Mon Sep 17 00:00:00 2001
> > From: Jason Merrill <ja...@redhat.com>
> > Date: Tue, 17 Sep 2024 17:38:35 -0400
> > Subject: [PATCH] build: update bootstrap req to C++14
> > To: gcc-patches@gcc.gnu.org
> >
> > This implements my proposal to update our bootstrap requirement to C++14.
> > The big benefit of the change is the greater constexpr power, but C++14 also
> > added variable templates, generic lambdas, lambda init-capture, binary
> > literals, and numeric literal digit separators.
> >
> > C++14 was feature-complete in GCC 5, and became the default in GCC 6.  5.4.0
> > bootstraps trunk correctly; trunk stage1 built with 5.3.0 breaks in
> > eh_data_format_name due to PR69995.
> >
> > gcc/ChangeLog:
> >
> >       * doc/install.texi (Prerequisites): Update to C++14.
> >
> > ChangeLog:
> >
> >       * configure.ac: Update requirement to C++14.
> >       * configure: Regenerate.
>
> Ok from my side, but please give Richi and others a week to disagree before
> committing.

I'm fine with it.

Richard.

>
>         Jakub
>

Reply via email to