]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/68464
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Dec 2015 19:34:11 +0000 (19:34 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Dec 2015 19:34:11 +0000 (19:34 +0000)
commit8f559c6e6a643c06000367ae1cc807d23c05864d
tree644e845c48d787861c08b7d50cc20f0f8e02d0a3
parentdd913aed41b7534484dfeed4077ed3b30e792528
PR c++/68464
* cp-gimplify.c (cp_fold): Don't assume X has TREE_TYPE.
(cp_genericize): Don't do cp_fold_r here.
(cp_fold_function): New.
* cp-tree.h: Declare it.
* decl.c (finish_function): Call it and the pre-genericize plugin
before NRV processing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231381 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/cp/cp-tree.h
gcc/cp/decl.c