Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-06-08 Thread Jason Merrill via Gcc-patches
On Mon, Jun 8, 2020 at 6:54 AM Martin Jambor wrote: > Hi, > > On Fri, May 15 2020, Jason Merrill via Gcc-patches wrote: > > commit f466a9f3f121f16b97071162806255fb464718f2 > > Author: Jason Merrill > > Date: Fri May 15 17:15:38 2020 -0400 > > > > bootstrap: Update requirement to C++11. > >

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-06-08 Thread Martin Jambor
Hi, On Fri, May 15 2020, Jason Merrill via Gcc-patches wrote: > commit f466a9f3f121f16b97071162806255fb464718f2 > Author: Jason Merrill > Date: Fri May 15 17:15:38 2020 -0400 > > bootstrap: Update requirement to C++11. > > There was general agreement last November that we would mov

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-06-07 Thread Jason Merrill via Gcc-patches
On 6/7/20 12:56 PM, Christophe Lyon wrote: On Fri, 5 Jun 2020 at 19:58, Jason Merrill wrote: On 6/5/20 12:39 PM, Jason Merrill wrote: On Fri, Jun 5, 2020 at 12:01 PM Christophe Lyon mailto:christophe.l...@linaro.org>> wrote: On Fri, 15 May 2020 at 23:54, Jason Merrill via Gcc-patches

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-06-07 Thread Christophe Lyon via Gcc-patches
On Fri, 5 Jun 2020 at 19:58, Jason Merrill wrote: > > On 6/5/20 12:39 PM, Jason Merrill wrote: > > On Fri, Jun 5, 2020 at 12:01 PM Christophe Lyon > > mailto:christophe.l...@linaro.org>> wrote: > > > > On Fri, 15 May 2020 at 23:54, Jason Merrill via Gcc-patches > > mailto:gcc-patches@gcc.g

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-06-05 Thread Jason Merrill via Gcc-patches
On 6/5/20 12:39 PM, Jason Merrill wrote: On Fri, Jun 5, 2020 at 12:01 PM Christophe Lyon mailto:christophe.l...@linaro.org>> wrote: On Fri, 15 May 2020 at 23:54, Jason Merrill via Gcc-patches mailto:gcc-patches@gcc.gnu.org>> wrote: > > On 5/15/20 2:21 PM, Richard Biener wrote:

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-06-05 Thread Jason Merrill via Gcc-patches
On Fri, Jun 5, 2020 at 12:01 PM Christophe Lyon wrote: > On Fri, 15 May 2020 at 23:54, Jason Merrill via Gcc-patches > wrote: > > > > On 5/15/20 2:21 PM, Richard Biener wrote: > > > On May 15, 2020 7:30:38 PM GMT+02:00, Jason Merrill > wrote: > > >> On Fri, May 15, 2020 at 3:15 AM Richard Biene

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-06-05 Thread Christophe Lyon via Gcc-patches
On Fri, 15 May 2020 at 23:54, Jason Merrill via Gcc-patches wrote: > > On 5/15/20 2:21 PM, Richard Biener wrote: > > On May 15, 2020 7:30:38 PM GMT+02:00, Jason Merrill > > wrote: > >> On Fri, May 15, 2020 at 3:15 AM Richard Biener > >> > >> wrote: > >> > +# When bootstrapping with GCC, bu

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-15 Thread Richard Biener via Gcc-patches
On May 15, 2020 11:53:42 PM GMT+02:00, Jason Merrill wrote: >On 5/15/20 2:21 PM, Richard Biener wrote: >> On May 15, 2020 7:30:38 PM GMT+02:00, Jason Merrill > wrote: >>> On Fri, May 15, 2020 at 3:15 AM Richard Biener >>> >>> wrote: >>> > +# When bootstrapping with GCC, build stage 1 in C++11

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-15 Thread Jason Merrill via Gcc-patches
On 5/15/20 2:21 PM, Richard Biener wrote: On May 15, 2020 7:30:38 PM GMT+02:00, Jason Merrill wrote: On Fri, May 15, 2020 at 3:15 AM Richard Biener wrote: +# When bootstrapping with GCC, build stage 1 in C++11 mode to ensure that a +# C++11 compiler can still start the bootstrap. if tes

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-15 Thread Richard Biener via Gcc-patches
On May 15, 2020 7:30:38 PM GMT+02:00, Jason Merrill wrote: >On Fri, May 15, 2020 at 3:15 AM Richard Biener > >wrote: > >> > +# When bootstrapping with GCC, build stage 1 in C++11 mode to >ensure >> that a >> > +# C++11 compiler can still start the bootstrap. >> > if test "$enable_bootstrap:$GXX"

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-15 Thread Jason Merrill via Gcc-patches
On Fri, May 15, 2020 at 5:58 AM Richard Sandiford wrote: > Richard Biener writes: > > On Fri, May 15, 2020 at 10:30 AM Richard Sandiford > > wrote: > >> > >> Richard Biener via Gcc-patches writes: > >> > Note I think what's missing is some general blurb in our coding > conventions > >> > as to

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-15 Thread Jason Merrill via Gcc-patches
On Fri, May 15, 2020 at 3:15 AM Richard Biener wrote: > > +# When bootstrapping with GCC, build stage 1 in C++11 mode to ensure > that a > > +# C++11 compiler can still start the bootstrap. > > if test "$enable_bootstrap:$GXX" = "yes:yes"; then > > + CXX="$CXX -std=gnu++11" > > So I just spotte

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-15 Thread Richard Biener via Gcc-patches
On Fri, May 15, 2020 at 11:58 AM Richard Sandiford wrote: > > Richard Biener writes: > > On Fri, May 15, 2020 at 10:30 AM Richard Sandiford > > wrote: > >> > >> Richard Biener via Gcc-patches writes: > >> > Note I think what's missing is some general blurb in our coding > >> > conventions > >>

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-15 Thread Richard Sandiford
Richard Biener writes: > On Fri, May 15, 2020 at 10:30 AM Richard Sandiford > wrote: >> >> Richard Biener via Gcc-patches writes: >> > Note I think what's missing is some general blurb in our coding conventions >> > as to how much of C++11 we are supposed to use in non-infrastructure parts >> >

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-15 Thread Richard Biener via Gcc-patches
On Fri, May 15, 2020 at 10:30 AM Richard Sandiford wrote: > > Richard Biener via Gcc-patches writes: > > Note I think what's missing is some general blurb in our coding conventions > > as to how much of C++11 we are supposed to use in non-infrastructure parts > > of GCC (I expect things like hash

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-15 Thread Richard Sandiford
Richard Biener via Gcc-patches writes: > Note I think what's missing is some general blurb in our coding conventions > as to how much of C++11 we are supposed to use in non-infrastructure parts > of GCC (I expect things like hash-table.h to use more C++ features than, > say, tree-ssa-alias.c). I

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-15 Thread Richard Biener via Gcc-patches
On Thu, May 14, 2020 at 11:53 PM Jason Merrill via Gcc-patches wrote: > > There seemed to be general agreement last November that we would move to > allowing C++11 features to be used in GCC 11; this patch implements that > direction. Are changes needed anywhere else? > > ChangeLog > 2020-05-14

Re: [PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-14 Thread Jakub Jelinek via Gcc-patches
On Thu, May 14, 2020 at 05:05:59PM -0400, Jason Merrill via Gcc-patches wrote: > +Versions of GCC prior to 11 also allow bootstrapping with an ISO C++98 > +compiler, versions of GCC prior to 4.8 also allow bootstrapping with a > +ISO C89 compiler, and versions of GCC prior to 3.4 also allow > +boot

[PATCH RFC] bootstrap: Update requirement to C++11.

2020-05-14 Thread Jason Merrill via Gcc-patches
There seemed to be general agreement last November that we would move to allowing C++11 features to be used in GCC 11; this patch implements that direction. Are changes needed anywhere else? ChangeLog 2020-05-14 Jason Merrill * configure.ac: Update bootstrap dialect to -std=gnu++11.