Fix devirtualization with LTO

Richard Biener richard.guenther@gmail.com
Tue Dec 25 17:13:00 GMT 2018


On December 24, 2018 8:17:51 PM GMT+01:00, Jan Hubicka <hubicka@ucw.cz> wrote:
>> On December 24, 2018 4:15:09 PM GMT+01:00, Jan Hubicka
><hubicka@ucw.cz> wrote:
>> >> UNRESOLVED: g++-dg-lto-devirt-13-01.exe scan-tree-dump-times ssa 
>> >> "OBJ_TYPE_REF" 0
>> >> UNRESOLVED: g++-dg-lto-devirt-13-11.exe scan-tree-dump-times ssa 
>> >> "OBJ_TYPE_REF" 0
>> >> UNRESOLVED: g++-dg-lto-devirt-13-21.exe scan-tree-dump-times ssa 
>> >> "OBJ_TYPE_REF" 0
>> >> UNRESOLVED: g++-dg-lto-devirt-14-01.exe scan-tree-dump-not ssa
>> >"A.*foo"
>> >> UNRESOLVED: g++-dg-lto-devirt-14-11.exe scan-tree-dump-not ssa
>> >"A.*foo"
>> >> UNRESOLVED: g++-dg-lto-devirt-23-01.exe scan-wpa-ipa-dump cp
>> >"Discovered 
>> >> a virtual call to"
>> >
>> >Hmm, it looks like tree dumps may not work in lto testsuite.  I
>guess I
>> >can either disable those tests or move them to ipa directory. I will
>> >take a look.
>> 
>> IIRC there's ltrans dump variant now? 
>
>Those are early opts. I was intending to test whether free lang data
>disables the transform.   I will look into that and add also some
>ltrans
>checks.

Ah, I suppose a - - param free-lang-data might be a good idea for this. 

Richard. 

>
>Honza
>> 
>> >Honza
>> 



More information about the Gcc-patches mailing list