Commit 176dc092 by Jan Hubicka Committed by Jan Hubicka

re PR bootstrap/63496 (../../gcc/ipa-polymorphic-call.c:2117:1: error: assuming…

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
parent 4027b015
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment