PR middle-end/40102
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 2009 17:17:52 +0000 (17:17 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 2009 17:17:52 +0000 (17:17 +0000)
commitb437daf41754afff274e689c4eddeb291a0e679e
tree7dfa5d5d22a7a192d98aea40e41add3c292cc255
parent7302546d02e4127d26720b6cf8c1ccf5a4216971
PR middle-end/40102
* cgraph.c (cgraph_create_edge_including_clones): Also asume that the
original node might've been modified.
* tree-inline.c (copy_bb): Do not assume that all clones are the same.

PR middle-end/40102
* g++.dg/torture/pr40102.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148287 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr40102.C [new file with mode: 0644]
gcc/tree-inline.c