decl.c (duplicate_decls): Don't try to unify an implicit typedef with an explicit...
authorRichard Sandiford <rsandifo@redhat.com>
Fri, 12 Apr 2002 10:55:27 +0000 (10:55 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 12 Apr 2002 10:55:27 +0000 (10:55 +0000)
commit4782bd5bee37845e7489a877239c59a569547e96
tree24ec3198f536171df0b213bd1e9130ff7f7d04de
parente6f648758eb7636fbfce0981eac9dfba44b50a1c
decl.c (duplicate_decls): Don't try to unify an implicit typedef with an explicit one.

* decl.c (duplicate_decls): Don't try to unify an implicit typedef
with an explicit one.
(follow_tag_typedef): New.
(lookup_tag): Use it to extract the tag of an explicit typedef.
(xref_tag): Likewise.

From-SVN: r52213
gcc/cp/ChangeLog
gcc/cp/decl.c