OSDN Git Service

* cgraphunit.c (verify_cgraph_node): Do checking that DECL match
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 May 2010 02:07:01 +0000 (02:07 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 May 2010 02:07:01 +0000 (02:07 +0000)
commite748b31d9ba52be4fa7e00e5e7a801b89343ec14
treefda3a71a120f0aa875aaa5fd29137598b8654835
parent3204f47b72f93dfdc5639db42285e872bde50d34
* 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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159907 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.h
gcc/cgraphunit.c
gcc/ipa-inline.c