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: "scovich at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Jun 2015 20:35:26 +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 #3 from Ryan Johnson <scovich at gmail dot com> ---
(In reply to Jason Merrill from comment #2)
> 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
Any reason this bug should not be closed as 'fixed' ?