re PR bootstrap/63496 (../../gcc/ipa-polymorphic-call.c:2117:1: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow])
PR bootstrap/63496 * ipa-polymorphic-call.c (extr_type_from_vtbl_ptr_store): Fix pasto. From-SVN: r216146
This commit is contained in:
parent
4027b0158d
commit
176dc0927d
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user