]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/g++.dg/cpp0x/constexpr-__func__2.C
PR c++/70353
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Mar 2016 18:40:02 +0000 (18:40 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Mar 2016 18:40:02 +0000 (18:40 +0000)
commita3af5975b5865891c212606400b264875a834589
tree4b759a379b55a6ac060ab50cf266013f5d5b5c1d
parenta3daa269d7329e597c4677e6ee71ae84ced35777
PR c++/70353

gcc/
* tree-inline.c (remap_decls): Don't add_local_decl if
cfun is null.
gcc/cp/
* decl.c (make_rtl_for_nonlocal_decl): Don't defer local statics
in constexpr functions.

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