Re: [PATCH] c++: Change the default dialect to C++17.

2020-05-18 Thread Marek Polacek via Gcc-patches
On Mon, May 18, 2020 at 10:04:07PM +0200, Jakub Jelinek wrote: > On Mon, May 18, 2020 at 03:51:36PM -0400, Jason Merrill wrote: > > > --- a/libgomp/testsuite/libgomp.c++/for-27.C > > > +++ b/libgomp/testsuite/libgomp.c++/for-27.C > > > @@ -151,6 +151,12 @@ f4 (const I &x, const I &y) > > > el

Re: [PATCH] c++: Change the default dialect to C++17.

2020-05-18 Thread Jakub Jelinek via Gcc-patches
On Mon, May 18, 2020 at 03:51:36PM -0400, Jason Merrill wrote: > > --- a/libgomp/testsuite/libgomp.c++/for-27.C > > +++ b/libgomp/testsuite/libgomp.c++/for-27.C > > @@ -151,6 +151,12 @@ f4 (const I &x, const I &y) > > else if (results[i]) \ > > abort () > > +/

Re: [PATCH] c++: Change the default dialect to C++17.

2020-05-18 Thread Jason Merrill via Gcc-patches
On 5/16/20 6:34 PM, Marek Polacek wrote: Since GCC 9, C++17 support is no longer experimental. It was too late to change the default C++ dialect to C++17 in GCC 10, but I think now it's time to pull the trigger (C++14 was made the default in GCC 6.1). We're still missing two C++17 library featur

[PATCH] c++: Change the default dialect to C++17.

2020-05-16 Thread Marek Polacek via Gcc-patches
Since GCC 9, C++17 support is no longer experimental. It was too late to change the default C++ dialect to C++17 in GCC 10, but I think now it's time to pull the trigger (C++14 was made the default in GCC 6.1). We're still missing two C++17 library features, but that shouldn't stop us. See