Re: [PATCH RFC] build: update bootstrap req to C++14

2024-10-17 Thread Richard Biener
On Wed, Oct 16, 2024 at 5:14 PM Jakub Jelinek 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++1

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-10-16 Thread Jakub Jelinek
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 cha

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-10-16 Thread Jason Merrill
On 9/20/24 11:51 AM, Jason Merrill wrote: On 9/19/24 4:37 PM, Jakub Jelinek wrote: On Thu, Sep 19, 2024 at 10:21:15AM -0400, Jason Merrill wrote: On 9/19/24 7:57 AM, Richard Biener wrote: On Wed, Sep 18, 2024 at 6:22 PM Jason Merrill wrote: Tested x86_64-pc-linux-gnu with 5.5.0 bootstrap co

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-09-20 Thread Jason Merrill
On 9/19/24 4:37 PM, Jakub Jelinek wrote: On Thu, Sep 19, 2024 at 10:21:15AM -0400, Jason Merrill wrote: On 9/19/24 7:57 AM, Richard Biener wrote: On Wed, Sep 18, 2024 at 6:22 PM Jason Merrill wrote: Tested x86_64-pc-linux-gnu with 5.5.0 bootstrap compiler. Thoughts? I'm fine with this in

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-09-19 Thread Richard Biener
On Thu, Sep 19, 2024 at 4:37 PM Jakub Jelinek wrote: > > On Thu, Sep 19, 2024 at 10:21:15AM -0400, Jason Merrill wrote: > > On 9/19/24 7:57 AM, Richard Biener wrote: > > > On Wed, Sep 18, 2024 at 6:22 PM Jason Merrill wrote: > > > > > > > > Tested x86_64-pc-linux-gnu with 5.5.0 bootstrap compiler

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-09-19 Thread Jakub Jelinek
On Thu, Sep 19, 2024 at 10:21:15AM -0400, Jason Merrill wrote: > On 9/19/24 7:57 AM, Richard Biener wrote: > > On Wed, Sep 18, 2024 at 6:22 PM Jason Merrill wrote: > > > > > > Tested x86_64-pc-linux-gnu with 5.5.0 bootstrap compiler. Thoughts? > > > > I'm fine with this in general - do we have

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-09-19 Thread Xi Ruoyao
On Thu, 2024-09-19 at 10:21 -0400, Jason Merrill wrote: /* snip */ > Another possibility would be to just say GCC 5, and adjust that upward > if we run into problems. I'd remind that GCC 5.1 is known as incapable to bootstrap recent GCC releases due to PR 65801. -- Xi Ruoyao School of

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-09-19 Thread Jason Merrill
On 9/19/24 7:57 AM, Richard Biener wrote: On Wed, Sep 18, 2024 at 6:22 PM Jason Merrill wrote: Tested x86_64-pc-linux-gnu with 5.5.0 bootstrap compiler. Thoughts? I'm fine with this in general - do we have needs of bumping the requirement for GCC 15 though? IMO we should bump once we are r

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-09-18 Thread Richard Biener
On Wed, Sep 18, 2024 at 6:22 PM Jason Merrill wrote: > > Tested x86_64-pc-linux-gnu with 5.5.0 bootstrap compiler. Thoughts? I'm fine with this in general - do we have needs of bumping the requirement for GCC 15 though? IMO we should bump once we are requiring actual C++14 in some place. As of

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-09-18 Thread Dongsheng Song
1. GNAT needs GCC 5.1 or later 2. Ubuntu 16.04 uses GCC 5.4 3. The propose is bump to GCC 5.5 4. Debian 9 uses GCC 6.3 5. D need GCC 9.4 or later GCC 9.4 is obviously too new, and using GCC 5.5 rules out Ubuntu 16.04. So unless there is a strong reason to do so, it is recommended to bump to GCC 5.

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-09-18 Thread Sam James
Jason Merrill writes: > Tested x86_64-pc-linux-gnu with 5.5.0 bootstrap compiler. Thoughts? > > -- 8< -- > > 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, generi

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-09-18 Thread Jason Merrill
On 9/18/24 6:36 PM, Iain Sandoe wrote: On 18 Sep 2024, at 17:18, Jason Merrill wrote: Tested x86_64-pc-linux-gnu with 5.5.0 bootstrap compiler. Thoughts? Despite that adequate support is available in GCC-5.5/6, would it be useful to jump to a version that allows a single toolchain to boot

Re: [PATCH RFC] build: update bootstrap req to C++14

2024-09-18 Thread Iain Sandoe
> On 18 Sep 2024, at 17:18, Jason Merrill wrote: > > Tested x86_64-pc-linux-gnu with 5.5.0 bootstrap compiler. Thoughts? Despite that adequate support is available in GCC-5.5/6, would it be useful to jump to a version that allows a single toolchain to bootstrap all the currently supported la

[PATCH RFC] build: update bootstrap req to C++14

2024-09-18 Thread Jason Merrill
Tested x86_64-pc-linux-gnu with 5.5.0 bootstrap compiler. Thoughts? -- 8< -- 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, bina