===================================================================
@@ -11883,13 +11883,6 @@ types_same_for_odr (tree type1, tree typ
}
v1 = DECL_ASSEMBLER_NAME (v1);
v2 = DECL_ASSEMBLER_NAME (v2);
- /* If we ever start adding random .blah suffixes after
- assembler names, we need to compare for match ignoring
- these (and update odr_type_hash, too). */
-#ifdef ENABLE_CHECKING
- gcc_assert (!strchr (IDENTIFIER_POINTER (v1), '.')
- && !strchr (IDENTIFIER_POINTER (v2), '.'));
-#endif
return (v1 == v2);
}
===================================================================
@@ -204,9 +204,6 @@ hash_type_name (tree t)
}
v = DECL_ASSEMBLER_NAME (v);
-#ifdef ENABLE_CHECKING
- gcc_assert (!strchr (IDENTIFIER_POINTER (v), '.'));
-#endif
hash = iterative_hash_hashval_t (hash, htab_hash_pointer (v));
return hash;
}