re PR c++/65656 (__builtin_constant_p should always be constexpr)
authorJason Merrill <jason@redhat.com>
Tue, 28 Apr 2015 14:43:59 +0000 (10:43 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 28 Apr 2015 14:43:59 +0000 (10:43 -0400)
commit5756d0f9319b7f40051d1d2554243a766589b0bf
treebe21bc0a2110469833777eb9e1e80cb8e57cea20
parentb71983a5baee2fd3b87233477eee7db4b5172bee
re PR c++/65656 (__builtin_constant_p should always be constexpr)

PR c++/65656
* constexpr.c (cxx_eval_builtin_function_call): Fix
__builtin_constant_p.

From-SVN: r222531
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp0x/constexpr-builtin3.C [new file with mode: 0644]