Commit abd6d8cc by Jakub Jelinek Committed by Jakub Jelinek

c-cppbuiltin.c (c_cpp_builtins): Don't define __cpp_consteval for now.

	* 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.

From-SVN: r279065
parent 2ee63d04
2019-12-06 Jakub Jelinek <jakub@redhat.com>
* c-cppbuiltin.c (c_cpp_builtins): Don't define __cpp_consteval for
now.
2019-12-05 Marek Polacek <polacek@redhat.com>
Jakub Jelinek <jakub@redhat.com>
......
......@@ -1001,7 +1001,7 @@ c_cpp_builtins (cpp_reader *pfile)
cpp_define (pfile, "__cpp_constexpr=201907L");
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");
......
2019-12-06 Jakub Jelinek <jakub@redhat.com>
* g++.dg/cpp2a/feat-cxx2a.C: Don't test __cpp_consteval for now.
PR c++/92831 - CWG 1299, not extending temporary lifetime for ?:
* g++.dg/cpp0x/temp-extend2.C: New test.
......
......@@ -526,11 +526,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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment