http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699
--- Comment #12 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-10-11 18:45:28 UTC --- Author: jamborm Date: Mon Oct 11 18:45:23 2010 New Revision: 165327 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165327 Log: 2010-10-11 Martin Jambor <mjam...@suse.cz> PR middle-end/45699 * gimple-fold.c (gimple_fold_obj_type_ref_known_binfo): Choose among thunks. * testsuite/g++.dg/torture/pr45699.C: New test. * testsuite/g++.dg/otr-fold-1.C: Adjusted. * testsuite/g++.dg/otr-fold-1.C: Likewise. Added: trunk/gcc/testsuite/g++.dg/torture/pr45699.C Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-fold.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/otr-fold-1.C trunk/gcc/testsuite/g++.dg/otr-fold-2.C