Commit 28ee8b98 by Marek Polacek Committed by Marek Polacek

* ipa-devirt.c (types_same_for_odr): Fix typo.

From-SVN: r226266
parent f2afe6dd
2015-07-27 Marek Polacek <polacek@redhat.com>
* ipa-devirt.c (types_same_for_odr): Fix typo.
2015-07-27 Jason Merrill <jason@redhat.com>
PR debug/66468
......
......@@ -550,7 +550,7 @@ types_same_for_odr (const_tree type1, const_tree type2, bool strict)
return false;
if (TREE_CODE (type1) == RECORD_TYPE
&& (TYPE_BINFO (type1) == NULL_TREE)
!= (TYPE_BINFO (type1) == NULL_TREE))
!= (TYPE_BINFO (type2) == NULL_TREE))
return false;
if (TREE_CODE (type1) == RECORD_TYPE && TYPE_BINFO (type1)
&& (BINFO_VTABLE (TYPE_BINFO (type1)) == NULL_TREE)
......
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