PR c++/83116
commit167a09fb8b7f157079add6856c72b9b3b9f571dd
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Dec 2017 21:25:16 +0000 (18 21:25 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Dec 2017 21:25:16 +0000 (18 21:25 +0000)
treeb2bee25f88cb8e33d0cfc96ef0db01f83694700f
parent0eff79f2065c03c2cd39c75d4a88523920ab9882
PR c++/83116
* constexpr.c (cxx_eval_call_expression): Only look into
constexpr_call_table if ctx->strict.

* g++.dg/cpp1y/constexpr-83116.C: New test.

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