r172676 - in /branches/gcc-4_6-branch/gcc: Chan...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Mon Apr 18 21:58:00 GMT 2011
Author: jakub
Date: Mon Apr 18 21:58:03 2011
New Revision: 172676
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172676
Log:
PR middle-end/48661
* gimple-fold.c (gimple_get_virt_method_for_binfo): Return NULL
if TREE_TYPE (v) is non-NULL.
* gimple-fold.c (gimple_get_virt_method_for_binfo): Renamed from
gimple_get_virt_mehtod_for_binfo.
* gimple.h (gimple_get_virt_method_for_binfo): Likewise.
* ipa-cp.c (ipcp_process_devirtualization_opportunities): Adjust
callers.
* ipa-prop.c (try_make_edge_direct_virtual_call): Likewise.
* g++.dg/torture/pr48661.C: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/torture/pr48661.C
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/gimple-fold.c
branches/gcc-4_6-branch/gcc/gimple.h
branches/gcc-4_6-branch/gcc/ipa-cp.c
branches/gcc-4_6-branch/gcc/ipa-prop.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list