aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2013-09-06 01:25:48 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2013-09-05 23:25:48 +0000
commit7d2ba4711f5e69b460fa44a1b07b3920b3ce6b65 (patch)
tree949e6f2a2ab002350dd2858bfa731353d6c1cf47 /gcc/tree.c
parent0db7b1373f71594a17c358bb9d907c904f2ca3d6 (diff)
downloadgcc-7d2ba4711f5e69b460fa44a1b07b3920b3ce6b65.zip
gcc-7d2ba4711f5e69b460fa44a1b07b3920b3ce6b65.tar.gz
gcc-7d2ba4711f5e69b460fa44a1b07b3920b3ce6b65.tar.bz2
tree.c (types_same_for_odr): Drop overactive check.
* tree.c (types_same_for_odr): Drop overactive check. * ipa-devirt.c (hash_type_name): Likewise. From-SVN: r202302
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 7e44b40..6181504 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -11883,13 +11883,6 @@ types_same_for_odr (tree type1, tree type2)
}
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);
}