OSDN Git Service

* Makefile.in (cgraphbuild.o): Add dependency on ipa-utils.h
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 15:42:15 +0000 (15:42 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 15:42:15 +0000 (15:42 +0000)
commit63b0bea7f5af509ae68aa64919da34dfc7223727
tree78258eccf7c9f7fcc4913fb56584c03d1bcc703c
parentb55bfc2f795f4ff8d340f0c73ad2ebd75e9bde9b
* Makefile.in (cgraphbuild.o): Add dependency on ipa-utils.h
* cgraphbuild.c: Include ipa-utils.h
(record_reference_ctx): New struct.
(record_reference): Simplify to work on initializers; not statements.
(mark_address, mark_load, mark_store): New.
(build_cgraph_edges): Simplify using walk_stmt_load_store_addr_ops;
walk PHI nodes too.
(record_references_in_initializer): Update use of record_reference.
(rebuild_cgraph_edges): Simplify using walk_stmt_load_store_addr_ops;
walk PHI nodes too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159032 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphbuild.c