From af5513e96b5539e4b3368050ba9064bb41b391f2 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 2 Mar 2015 19:43:56 +0100 Subject: re PR lto/65276 (LTO: ICE add_type_duplicate, at ipa-devirt.c:1462) PR lto/65276 * ipa-devirt.c (add_type_duplicate): Remove odr_violated assert when checking TYPE_BINFO. Co-Authored-By: Aldy Hernandez From-SVN: r221121 --- gcc/ipa-devirt.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/ipa-devirt.c') diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c index c3f8b15..fe29932 100644 --- a/gcc/ipa-devirt.c +++ b/gcc/ipa-devirt.c @@ -1459,7 +1459,6 @@ add_type_duplicate (odr_type val, tree type) && polymorphic_type_binfo_p (TYPE_BINFO (type1)) != polymorphic_type_binfo_p (TYPE_BINFO (type2)))) { - gcc_assert (val->odr_violated); base_mismatch = true; break; } -- cgit v1.1