]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix PR ipa/65263.
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Mar 2015 09:26:20 +0000 (09:26 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Mar 2015 09:26:20 +0000 (09:26 +0000)
commitc1df982e759454f156181b0dcef22aa581f39db7
tree95f961e1350a2d19eb23ce29ab324e11f8dee391
parent796859e5ef73aa9e7811ba944d76f6b395df29d3
Fix PR ipa/65263.

PR ipa/65263
* cgraph.c (cgraph_node::has_thunk_p): New function.
* cgraph.h (cgraph_node::has_thunk_p: Likewise.
* ipa-icf.c (redirect_all_callers): Do not redirect thunks.
(sem_function::merge): Assert is changed.
* g++.dg/ipa/pr65263.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221134 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/ipa-icf.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr65263.C [new file with mode: 0644]