http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58585

--- Comment #15 from Jan Hubicka <hubicka at ucw dot cz> ---
> markus@x4 gcc % cat test.ii
> class A {
>   void m();
> };
> void A::m() {}
> 
> markus@x4 gcc % /var/tmp/gcc_build_dir_/./prev-gcc/xg++
> -B/var/tmp/gcc_build_dir_/./prev-gcc/ -r -nostdlib -flto -O2 -pipe test.ii
> lto1: internal compiler error: in hash_type_name, at ipa-devirt.c:225

Grr, ignore the first hunks replacing DECL_VIRTUAL_P.  I added them for
separate
issue (related one though - it happens when you have method virtually
inheriting methods
with virtual calls that is not polymorphic by itself.  I will need to figure
out
separate fix for it).  I am at meeting now, will prepare updated patch
afterwards.

Honza

Reply via email to