cp/
commit886d546325a7a13820ed8dfc05ad56c4c0f2b15e
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Apr 2016 13:28:44 +0000 (27 13:28 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Apr 2016 13:28:44 +0000 (27 13:28 +0000)
treea55d8cdb9a0ba79683644f8c44d1fc9099e93d68
parent8b8be176b0ca2f1ef7cf073309ea60481fc435f7
cp/
* constexpr.c (get_fundef_copy): Use the original function for
non-recursive evaluations.
(save_fundef_copy): Always expect a slot to be available.

testsuite/
* g++.dg/cpp0x/constexpr-recursion3.C: New.
* g++.dg/ubsan/pr63956.C: Adjust error location.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235506 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-recursion3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ubsan/pr63956.C