r274210 - in /trunk/gcc: cp/ChangeLog cp/conste...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Thu Aug 8 14:55:00 GMT 2019


Author: mpolacek
Date: Thu Aug  8 14:55:52 2019
New Revision: 274210

URL: https://gcc.gnu.org/viewcvs?rev=274210&root=gcc&view=rev
Log:
	* constexpr.c (inline_asm_in_constexpr_error): New.
	(cxx_eval_constant_expression) <case ASM_EXPR>: Call it.
	(potential_constant_expression_1) <case ASM_EXPR>: Likewise.

	* g++.dg/cpp2a/inline-asm3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp2a/inline-asm3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list