]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/45934 (g++.old-deja/g++.other/dtor5.C FAILs with -finline...
authorMartin Jambor <mjambor@suse.cz>
Fri, 14 Jan 2011 23:00:59 +0000 (00:00 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 14 Jan 2011 23:00:59 +0000 (00:00 +0100)
commitf65cf2b706151e0310518eef48bab95cf8155c3c
tree4d29e7117ee16a5f9008d05eba9ee4b04ac9cecf
parentdc0d2dae5a60054f04b687335e5c561ece6d4c36
re PR tree-optimization/45934 (g++.old-deja/g++.other/dtor5.C FAILs with -finline-small-functions)

2011-01-14  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/45934
PR tree-optimization/46302
* ipa-prop.c (type_change_info): New type.
(stmt_may_be_vtbl_ptr_store): New function.
(check_stmt_for_type_change): Likewise.
(detect_type_change): Likewise.
(detect_type_change_ssa): Likewise.
(compute_complex_assign_jump_func): Check for dynamic type change.
(compute_complex_ancestor_jump_func): Likewise.
(compute_known_type_jump_func): Likewise.
(compute_scalar_jump_functions): Likewise.
(ipa_analyze_virtual_call_uses): Likewise.
(ipa_analyze_node): Push and pop cfun, set current_function_decl.

* testsuite/g++.dg/ipa/devirt-c-1.C: New test.
* testsuite/g++.dg/ipa/devirt-c-2.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-3.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-4.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-5.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-6.C: Likewise.
* testsuite/g++.dg/ipa/devirt-6.C: Likewise.
* testsuite/g++.dg/ipa/devirt-d-1.C: Likewise.
* testsuite/g++.dg/torture/pr45934.C: Likewise.

From-SVN: r168825
12 files changed:
gcc/ChangeLog
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/devirt-6.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-c-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-c-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-c-3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-c-4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-c-5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-c-6.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ipa/devirt-d-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/torture/pr45934.C [new file with mode: 0644]
This page took 0.058293 seconds and 5 git commands to generate.