2018-04-18  Martin Liska  <mliska@suse.cz>
	Revert
	2018-03-13  Eric Botcazou  <ebotcazou@adacore.com>
	PR lto/84805
	* ipa-devirt.c (odr_subtypes_equivalent_p): Do not get the ODR type of
	incomplete types.
From-SVN: r259477
+2018-04-18  Martin Liska  <mliska@suse.cz>
+
+       Revert
+       2018-03-13  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR lto/84805
+       * ipa-devirt.c (odr_subtypes_equivalent_p): Do not get the ODR type of
+       incomplete types.
+
 2018-04-18  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/85388
 
         therefore which call will report the ODR violation, if any.  */
         if (!odr_type_p (t1)
             || !odr_type_p (t2)
-            || !COMPLETE_TYPE_P (t1)
-            || !COMPLETE_TYPE_P (t2)
             || (!get_odr_type (t1, true)->odr_violated
                 && !get_odr_type (t2, true)->odr_violated))
         return true;