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

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Apr 4 19:55:00 GMT 2018


Author: jakub
Date: Wed Apr  4 19:55:56 2018
New Revision: 259104

URL: https://gcc.gnu.org/viewcvs?rev=259104&root=gcc&view=rev
Log:
	PR inline-asm/85172
	* constexpr.c (cxx_eval_builtin_function_call): For calls to
	builtin_valid_in_constant_expr_p functions, don't call
	cxx_eval_constant_expression if argument is not
	potential_constant_expression.

	* g++.dg/ext/builtin13.C: New test.
	* g++.dg/ext/atomic-4.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/atomic-4.C
    trunk/gcc/testsuite/g++.dg/ext/builtin13.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list