Hi,
this patch fixes pasto in ipa-polymorphic-call.c. Of course I was not intending
to compare
offset+64 with offset ;)
Honza
PR bootstrap/63496
* ipa-polymorphic-call.c (extr_type_from_vtbl_ptr_store): Fix pasto.
Index: ipa-polymorphic-call.c
===================================================================
--- ipa-polymorphic-call.c (revision 216141)
+++ ipa-polymorphic-call.c (working copy)
@@ -1235,7 +1235,7 @@ extr_type_from_vtbl_ptr_store (gimple st
if (dump_file)
fprintf (dump_file, " wrong offset %i!=%i or size %i\n",
(int)offset, (int)tci->offset, (int)size);
- return offset + GET_MODE_BITSIZE (Pmode) <= offset
+ return offset + GET_MODE_BITSIZE (Pmode) <= tci->offset
|| (max_size != -1
&& tci->offset + GET_MODE_BITSIZE (Pmode) > offset +
max_size)
? error_mark_node : NULL;