This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/65656] __builtin_constant_p should always be constexpr


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]