]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraphunit.c
PR ipa/63587
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Oct 2014 15:17:42 +0000 (15:17 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Oct 2014 15:17:42 +0000 (15:17 +0000)
commitbdb8985a03e817becc10fded135ac2c49e99bacc
tree987eee494277d54edfb3a37f24a7b598c944ae9e
parent36c50a5f93279217f56a13b7041d9aad491f7bbb
PR ipa/63587

* g++.dg/ipa/pr63587-1.C: New test
* g++.dg/ipa/pr63587-2.C: New test.

* cgraphunit.c (cgraph_node::expand_thunk): Only VAR_DECLs are put
to local declarations.
* function.c (add_local_decl): Implementation moved from header
file, assert introduced for tree type.
* function.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216841 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c
gcc/function.c
gcc/function.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr63587-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/pr63587-2.C [new file with mode: 0644]