PR c++/85113 - ICE with constexpr and __builtin_constant_p.
commit0f5cec547d0cdc526135c17dd9d44cbe026cfd8e
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Apr 2018 19:13:36 +0000 (3 19:13 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Apr 2018 19:13:36 +0000 (3 19:13 +0000)
treec9eb7ff5e65b84e61eb5d14b187fb3688cd78191
parent83d46440fdda79e4b65f1c5a4e20d0f9b8872780
PR c++/85113 - ICE with constexpr and __builtin_constant_p.

* constexpr.c (cxx_eval_builtin_function_call): Only defer
__builtin_constant_p if ctx->quiet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259051 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/ext/builtin12.C [new file with mode: 0644]