]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/8727 (compiler confused by inheritance from an anonymous struct)
authorMark Mitchell <mark@codesourcery.com>
Sun, 1 Dec 2002 20:40:38 +0000 (20:40 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 1 Dec 2002 20:40:38 +0000 (20:40 +0000)
commit685d4f0abfb80a90d4d975931ba1954922efeefb
tree823b27250f51ef21e5ced8590ee65bb98407ada6
parent805ee4b50e2c99cdef6227c0074bea01aedfc9c1
re PR c++/8727 (compiler confused by inheritance from an anonymous struct)

PR c++/8727
* g++.dg/inherit/typeinfo1.C: New test.

PR c++/8663
* g++.dg/inherit/typedef1.C: New test.

PR c++/8727
* cp-tree.h (lang_type_class): Add typeinfo_var.
(CLASSTYPE_TYPEINFO_VAR): New macro.
* rtti.c (get_tinfo_decl): Use it.

PR c++/8663
* init.c (expand_member_init): Always get the main variant of a
base class.

From-SVN: r59697
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/rtti.c
gcc/testsuite/ChangeLog