]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/constexpr.c
* constexpr.c (cxx_eval_builtin_function_call): Use cp_fully_fold
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Nov 2015 03:58:18 +0000 (03:58 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Nov 2015 03:58:18 +0000 (03:58 +0000)
commitefe6a40a7646b7f9cd6194eb6fb19cae54cee04b
tree0ee769b873e0e06ca40129282ee59e8a1bdec0ec
parent4851f928e0d78ce62841692f293546fd38d0acd3
* constexpr.c (cxx_eval_builtin_function_call): Use cp_fully_fold
to fold arguments to __builtin_constant_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230453 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/cp/cp-gimplify.c
gcc/testsuite/g++.dg/delayedfold/builtin-constant1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/delayedfold/builtin-constant2.C [new file with mode: 0644]