cgraphunit.c (verify_cgraph_node): Do checking that DECL match edge only when checkin...
authorJan Hubicka <jh@suse.cz>
Thu, 27 May 2010 02:07:01 +0000 (04:07 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 27 May 2010 02:07:01 +0000 (02:07 +0000)
commite466e2ceb9d8fdb7a6bc1463288a3fc6d98bbcc1
treefda3a71a120f0aa875aaa5fd29137598b8654835
parentfc7e91eb97a4ffbf4f48adc89b6c6e70f28c74dc
cgraphunit.c (verify_cgraph_node): Do checking that DECL match edge only when checking is enabled...

* cgraphunit.c (verify_cgraph_node): Do checking that DECL match
edge only when checking is enabled; check using former_clone_of;
check inline clones too.
(cgraph_materialize_clone): Record former_clone_of pointer.
(cgraph_redirect_edge_call_stmt_to_callee): Assert that we are not
combining redirections; dump args_to_skip bitmap
(cgraph_materialize_all_clones): Do no redirection here.
* ipa-inline.c (inline_transform): Do redirection here.
* cgraph.h (struct cgraph_node): Add former_clone_of filed (enabled
cheking only).

From-SVN: r159907
gcc/ChangeLog
gcc/cgraph.h
gcc/cgraphunit.c
gcc/ipa-inline.c