> 2013-05-24 Martin Jambor
>
> * 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):
Hi,
when modifying an indirectly recursively called function, IPA-SRA may
remove a statement for which we have already gathered references in
the symbol table and replace it with new statement(s), making the
symbol table information stale which can lead to problems like PR
57294.
The patch below