diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa-polymorphic-call.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 667da04..d5a3a91 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-10-13 Jan Hubicka <hubicka@ucw.cz> + + PR bootstrap/63496 + * ipa-polymorphic-call.c (extr_type_from_vtbl_ptr_store): Fix pasto. + 2014-10-13 Marat Zakirov <m.zakirov@samsung.com> * asan.c (instrument_derefs): BIT_FIELD_REF added. diff --git a/gcc/ipa-polymorphic-call.c b/gcc/ipa-polymorphic-call.c index 7d58601..652c205 100644 --- a/gcc/ipa-polymorphic-call.c +++ b/gcc/ipa-polymorphic-call.c @@ -1235,7 +1235,7 @@ extr_type_from_vtbl_ptr_store (gimple stmt, struct type_change_info *tci, 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; |