diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2014-04-15 14:31:40 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2014-04-15 14:31:40 +0000 |
commit | fe9208efaf5a745526539330b3353418ab711d7d (patch) | |
tree | 170963879feb2a359bfeff0ed79a4cc04f0f1f53 /gcc/cp/decl.c | |
parent | 98a2fdfba6290cc34485d77edfd0a092871ae7fc (diff) | |
download | gcc-fe9208efaf5a745526539330b3353418ab711d7d.zip gcc-fe9208efaf5a745526539330b3353418ab711d7d.tar.gz gcc-fe9208efaf5a745526539330b3353418ab711d7d.tar.bz2 |
decl.c (duplicate_decls): Remove redundant TYPE_NAME use.
2014-04-15 Paolo Carlini <paolo.carlini@oracle.com>
* decl.c (duplicate_decls): Remove redundant TYPE_NAME use.
* name-lookup.c (pushdecl_maybe_friend_1): Likewise.
(do_class_using_decl): Likewise.
* mangle.c (dump_substitution_candidates): Use TYPE_NAME_STRING.
From-SVN: r209420
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index f8ae07c..f80f94a 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -1380,7 +1380,6 @@ duplicate_decls (tree newdecl, tree olddecl, bool newdecl_is_friend) tree t = TREE_VALUE (t1); if (TYPE_PTR_P (t) - && TYPE_NAME (TREE_TYPE (t)) && TYPE_IDENTIFIER (TREE_TYPE (t)) == get_identifier ("FILE") && compparms (TREE_CHAIN (t1), TREE_CHAIN (t2))) |