http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45878
--- Comment #16 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-13 20:30:17 UTC --- Author: rguenth Date: Wed Oct 13 20:30:10 2010 New Revision: 165435 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165435 Log: 2010-10-13 Richard Guenther <rguent...@suse.de> PR objc/45878 * gimple-fold.c (gimple_fold_obj_type_ref): Leave OBJ_TYPE_REFs alone if there are no virtual methods. * objc.dg/pr45878.m: New testcase. Added: trunk/gcc/testsuite/objc.dg/pr45878.m Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-fold.c trunk/gcc/testsuite/ChangeLog