diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2014-10-13 14:44:00 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2014-10-13 12:44:00 +0000 |
commit | 176dc0927d5abdd444d5121121a7e2df1361c876 (patch) | |
tree | 9383863866c5fb605a6eb5503001704a34790cc1 /gcc/ipa-polymorphic-call.c | |
parent | 4027b0158d3e9249d9269f2eff144e76904cde8c (diff) | |
download | gcc-176dc0927d5abdd444d5121121a7e2df1361c876.tar.gz |
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
Diffstat (limited to 'gcc/ipa-polymorphic-call.c')
-rw-r--r-- | gcc/ipa-polymorphic-call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-polymorphic-call.c b/gcc/ipa-polymorphic-call.c index 7d58601ae36..652c205b882 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; |