Fix devirtualiation in expanded thunks
Jan Hubicka
hubicka@ucw.cz
Tue Jan 1 22:42:00 GMT 2019
> Andreas Schwab <schwab@linux-m68k.org> writes:
>
> > On Dez 31 2018, Martin Liška <mliska@suse.cz> wrote:
> >
> >> -/* { dg-final-use-not-autofdo { scan-ipa-dump-times 3 "folding virtual
> >> function call to virtual unsigned int mozPersonalDictionary::_ZThn16"
> >> "dom3" } } */
> >> -/* { dg-final-use-not-autofdo { scan-ipa-dump-times 3 "folding virtual
> >> function call to virtual unsigned int mozPersonalDictionary::AddRef"
> >> "dom3" } } */
> >> +/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual
> >> function call to virtual unsigned int mozPersonalDictionary::_ZThn16" 3
> >> "dom3" } } */
> >> +/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual
> >> function call to virtual unsigned int mozPersonalDictionary::AddRef" 3
> >> "dom3" } } */
> >
> > New tests that FAIL (1 tests):
> >
> > unix/-mabi=ilp32: g++.dg/tree-prof/devirt.C scan-tree-dump-times dom3
> > "folding virtual function call to virtual unsigned int
> > mozPersonalDictionary::_ZThn16" 3
>
> now it's
>
> +FAIL: g++.dg/tree-prof/devirt.C scan-tree-dump-times dom3 "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn16" 1
>
> and the failure seems to occur on every 32-bit target. The log shows
>
> g++.dg/tree-prof/devirt.C: pattern found 0 times
I guess the ZThn16 should be replaced by ZThm8?
Is there a way to dump files for different patterns for 32bit or 64bit
tarets? Or shall we simply disable this test for 32bit?
Honza
>
> Rainer
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gcc-patches
mailing list