re PR c++/17620 (Bogus error with duplicate base class breaks boost)
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 23 Sep 2004 10:09:09 +0000 (10:09 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 23 Sep 2004 10:09:09 +0000 (10:09 +0000)
commit98d6e9afea98c81a0cb3fa9e1d5622d474dd52e1
tree9e32da01f4dd9f74821e87be2227b9646e5b67d7
parente5a067e81a6f05552064e2d1224c278724ba4ca6
re PR c++/17620 (Bogus error with duplicate base class breaks boost)

cp:
PR c++/17620
* decl.c (xref_basetypes): Look through typedefs before checking
for duplicate base.
testsuite:
PR c++/17620
* g++.dg/inherit/base2.C: New.

From-SVN: r87938
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/base2.C [new file with mode: 0644]