OSDN Git Service

* cgraphbuild.c (record_reference): Use cgraph_mark_address_taken_node.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 May 2009 15:11:01 +0000 (15:11 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 May 2009 15:11:01 +0000 (15:11 +0000)
commit2cb64f78cbf96fe7ee2e2894247f8518c8df286a
tree74ceb2f1c2ecc5f55f8c3f84dd6a925d1b0918c4
parent2ee04baa68b1550bd7c06cee36b87adf3176a6c6
* cgraphbuild.c (record_reference): Use cgraph_mark_address_taken_node.
* cgraph.c (cgraph_mark_address_taken_node): New function.
(dump_cgraph_node): Dump new flag.
* cgraph.h (struct cgraph_node): Add address_taken.
(cgraph_mark_address_taken_node): New function.
* cp/decl2.c (cxx_callgraph_analyze_expr): Use
cgraph_mark_address_taken.
* ipa.c (cgraph_postorder): Prioritize functions with address taken
since new direct calls can be born.

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