]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/constexpr.c
/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Nov 2014 17:40:42 +0000 (17:40 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Nov 2014 17:40:42 +0000 (17:40 +0000)
commit394aed6ae6ff5a55e5d61488410af5f1677818e0
treef2a5402e5f4c1077a8868f4c5bd65c707e2fc376
parent1a91d9148a5896f3a849909cc7648284c7f6fa4c
/cp
2014-11-19  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/55425
* constexpr.c (constexpr_fn_retval): Accept __func__, __FUNCTION__,
and __PRETTY_FUNCTION__.

/testsuite
2014-11-19  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/55425
* g++.dg/cpp0x/constexpr-__func__.C

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