PR rtl-optimization/77425
* ipa-devirt.c (get_odr_type): Set val->id unconditionally.
From-SVN: r239986
+2016-09-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/77425
+ * ipa-devirt.c (get_odr_type): Set val->id unconditionally.
+
2016-09-03 Kirill Yukhin <kirill.yukhin@intel.com>
* ubsan.c (ubsan_use_new_style_p): Fix check for empty string.
/* Be sure we did not recorded any derived types; these may need
renumbering too. */
gcc_assert (val->derived_types.length() == 0);
- if (odr_types_ptr)
- val->id = odr_types.length ();
+ val->id = odr_types.length ();
vec_safe_push (odr_types_ptr, val);
}
return val;