On Fri, Nov 29, 2019 at 10:30:13AM +0100, Jakub Jelinek wrote: > 2019-11-29 Jakub Jelinek <ja...@redhat.com> > > * c-cppbuiltin.c (c_cpp_builtins): Don't define __cpp_consteval for > now. > > * g++.dg/cpp2a/feat-cxx2a.C: Don't test __cpp_consteval for now.
I'd like to ping this patch (the wwwdocs change has been committed already). Thanks. > --- gcc/c-family/c-cppbuiltin.c.jj 2019-11-28 09:02:23.705869433 +0100 > +++ gcc/c-family/c-cppbuiltin.c 2019-11-28 18:59:20.407918255 +0100 > @@ -999,7 +999,7 @@ c_cpp_builtins (cpp_reader *pfile) > cpp_define (pfile, "__cpp_designated_initializers=201707L"); > cpp_define (pfile, "__cpp_constexpr_in_decltype=201711L"); > cpp_define (pfile, "__cpp_conditional_explicit=201806L"); > - cpp_define (pfile, "__cpp_consteval=201811L"); > + /* cpp_define (pfile, "__cpp_consteval=201811L"); */ > cpp_define (pfile, "__cpp_constinit=201907L"); > cpp_define (pfile, "__cpp_deduction_guides=201907L"); > cpp_define (pfile, "__cpp_nontype_template_parameter_class=201806L"); > --- gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C.jj 2019-11-28 > 09:02:25.331844453 +0100 > +++ gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C 2019-11-28 19:00:59.459400136 > +0100 > @@ -520,11 +520,13 @@ > # error "__cpp_constexpr_in_decltype != 201711" > #endif > > +/* Not supported fully yet: > #ifndef __cpp_consteval > # error "__cpp_consteval" > #elif __cpp_consteval != 201811 > # error "__cpp_consteval != 201811" > #endif > +*/ > > #ifndef __cpp_concepts > # error "__cpp_concepts" > Jakub