re PR bootstrap/63496 (../../gcc/ipa-polymorphic-call.c:2117:1: error: assuming signe...
authorJan Hubicka <hubicka@ucw.cz>
Mon, 13 Oct 2014 12:44:00 +0000 (14:44 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 13 Oct 2014 12:44:00 +0000 (12:44 +0000)
PR bootstrap/63496
* ipa-polymorphic-call.c (extr_type_from_vtbl_ptr_store): Fix pasto.

From-SVN: r216146

gcc/ChangeLog
gcc/ipa-polymorphic-call.c

index 667da04f2bde46faa6f6fb92aa933d1eadaef1d1..d5a3a917e689c8527406a5cec30999780a49e8ad 100644 (file)
@@ -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.
index 7d58601ae365b8c829f5c1a1e4c9172f43c082dc..652c205b88239bb891ca535dd2a82a78d18a8069 100644 (file)
@@ -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;