On Tue, Dec 17, 2013 at 3:04 AM, Jan Hubicka <hubi...@ucw.cz> wrote: > Hi, > I forgot the following change in my tree. It fixes type consistency sanity > check in get_polymorphic_call_info. With the change to gimple-fold it is > now needed to devrirtualize devirt2.C. (previously the bug went latent since > the old code handled the testcase) > > I am re-testing x86_64-linux and will commit it shortly. I apologize for > breaking the testcase. > > Honza > > * ipa-devirt.c (get_polymorphic_call_info): Fix offset when > checking type consistency; do not set bogus outer_type > when check fails. >
Does it fix: FAIL: g++.dg/ipa/devirt-13.C -std=gnu++11 scan-ipa-dump cgraph "Devirtualizing call" FAIL: g++.dg/ipa/devirt-13.C -std=gnu++98 scan-ipa-dump cgraph "Devirtualizing call" on Linux/x86? -- H.J.