PR c++/85113 - ICE with constexpr and __builtin_constant_p.
authorJason Merrill <jason@redhat.com>
Tue, 3 Apr 2018 19:13:36 +0000 (15:13 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 3 Apr 2018 19:13:36 +0000 (15:13 -0400)
commitfe736ffd2f423c825da8751111da55a2ad25d059
treec9eb7ff5e65b84e61eb5d14b187fb3688cd78191
parent8ab30b9778a46cbf0a0853c78cd799b9afca61c5
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.

From-SVN: r259051
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/ext/builtin12.C [new file with mode: 0644]