r236408 - in /branches/gcc-5-branch/gcc: Change...

jason@gcc.gnu.org jason@gcc.gnu.org
Wed May 18 15:59:00 GMT 2016


Author: jason
Date: Wed May 18 15:59:00 2016
New Revision: 236408

URL: https://gcc.gnu.org/viewcvs?rev=236408&root=gcc&view=rev
Log:
	PR c++/70353 - __func__ and constexpr

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.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-__func__2.C
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/decl.c
    branches/gcc-5-branch/gcc/tree-inline.c



More information about the Gcc-cvs mailing list