> 2013-05-24  Martin Jambor  <mjam...@suse.cz>
> 
>       * cgraph.h (ipa_record_stmt_references): Declare.
>       * cgraphbuild.c (ipa_record_stmt_references): New function.
>       (build_cgraph_edges): Use ipa_record_stmt_references.
>       (rebuild_cgraph_edges): Likewise.
>       (cgraph_rebuild_references): Likewise.
>       * ipa-prop.c (ipa_modify_call_arguments): Discard references
>       associated with the old statement and build references from the
>       newly built statements.
>       * ipa-ref.c (ipa_remove_stmt_references): New function.
>       * ipa-ref.h (ipa_remove_stmt_references): Declare.
> 
> testsuite/
>       * gcc.dg/ipa/pr57294.c: New test.
> 
> +
> +void
> +ipa_remove_stmt_references (symtab_node referring_node, gimple stmt)

Missing comment.
Otherwise the patch is OK.
It would be nice to modify ipa_record_stmt_references to allow also 
verification that all
references are recorded. 

Honza

Reply via email to