Re: [PATCH, PR 57294] Update symbol table references in IPA-SRA

2013-05-24 Thread Jan Hubicka
> 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):

[PATCH, PR 57294] Update symbol table references in IPA-SRA

2013-05-24 Thread Martin Jambor
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