Re: Fix devirtualization with LTO

2018-12-25 Thread Richard Biener
On December 24, 2018 8:17:51 PM GMT+01:00, Jan Hubicka wrote: >> On December 24, 2018 4:15:09 PM GMT+01:00, Jan Hubicka > 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 >>

Re: Fix devirtualization with LTO

2018-12-24 Thread Jan Hubicka
> On December 24, 2018 4:15:09 PM GMT+01:00, Jan Hubicka 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 sca

Re: Fix devirtualization with LTO

2018-12-24 Thread Richard Biener
On December 24, 2018 4:15:09 PM GMT+01:00, Jan Hubicka 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-

Re: Fix devirtualization with LTO

2018-12-24 Thread Jan Hubicka
> 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.

Re: Fix devirtualization with LTO

2018-12-24 Thread Sudakshina Das
Hi Jan On 22/12/18 8:08 PM, Jan Hubicka wrote: > Hi, > while fixing Firefox issues I also noticed that type simplification > completely disabled type based devirtualization on LTO path. Problem > is that method pointers now point to simplified type and > obj_type_ref_class is not ready for that. >

Fix devirtualization with LTO

2018-12-22 Thread Jan Hubicka
Hi, while fixing Firefox issues I also noticed that type simplification completely disabled type based devirtualization on LTO path. Problem is that method pointers now point to simplified type and obj_type_ref_class is not ready for that. I also moved testcases where it makes sense to lto so thi