]> git.ipfire.org Git - thirdparty/gcc.git/commit
2013-05-24 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 May 2013 15:35:21 +0000 (15:35 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 May 2013 15:35:21 +0000 (15:35 +0000)
commit7d9f258fdcec6e984c2b942382235b98e9300b1b
tree43bacd6846c8b3eb43f0268cb4dce94a7f027c38
parentcc0dc61ba53d34053c5998ba909ac6ea62d06024
2013-05-24  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/57294
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199299 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.h
gcc/cgraphbuild.c
gcc/ipa-prop.c
gcc/ipa-ref.c
gcc/ipa-ref.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr57294.c [new file with mode: 0644]