This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65656] __builtin_constant_p should always be constexpr
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Apr 2015 14:44:31 +0000
- Subject: [Bug c++/65656] __builtin_constant_p should always be constexpr
- Auto-submitted: auto-generated
- References: <bug-65656-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65656
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Apr 28 14:43:59 2015
New Revision: 222531
URL: https://gcc.gnu.org/viewcvs?rev=222531&root=gcc&view=rev
Log:
PR c++/65656
* constexpr.c (cxx_eval_builtin_function_call): Fix
__builtin_constant_p.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-builtin3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c