re PR middle-end/61654 (ICE in release_function_body, at cgraph.c:1699)
authorMartin Jambor <mjambor@suse.cz>
Wed, 10 Sep 2014 11:34:09 +0000 (13:34 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 10 Sep 2014 11:34:09 +0000 (13:34 +0200)
commitbec6320858ac191ce070cb789fc55792a73084da
treed7ee14246bd51291d717e5677748ab95847ddc12
parentf3955ea361ad6652af0cd456be138ec6ba5c7d68
re PR middle-end/61654 (ICE in release_function_body, at cgraph.c:1699)

2014-09-10  Martin Jambor  <mjambor@suse.cz>

PR ipa/61654
* cgraphclones.c (duplicate_thunk_for_node): Copy arguments of the
new decl properly.  Analyze the new thunk if it is expanded.

gcc/testsuite/
* g++.dg/ipa/pr61654.C: New test.

From-SVN: r215122
gcc/ChangeLog
gcc/cgraphclones.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr61654.C [new file with mode: 0644]