PR tree-optimization/62091
commit325396bf2b5f86f3ade75aec266b39881784d7d3
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Aug 2014 23:36:22 +0000 (14 23:36 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Aug 2014 23:36:22 +0000 (14 23:36 +0000)
treef6a1bda569f302e135bad3e65c640895625724a3
parent1df805e3d5311079c9fe4f65d80ef11aaa57b643
PR tree-optimization/62091
* g++.dg/ipa/devirt-38.C: New testcase.
* tree-ssa-alias.c (walk_aliased_vdefs_1): Do not clear
function_entry_reached.
(walk_aliased_vdefs): Clear it here.
* ipa-devirt.c (check_stmt_for_type_change): Handle static storage.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213991 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/devirt-38.C [new file with mode: 0644]
gcc/tree-ssa-alias.c