This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/13539] dbxout.c does not recognize protected inheritance
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jan 2004 06:37:25 -0000
- Subject: [Bug debug/13539] dbxout.c does not recognize protected inheritance
- References: <20040101060634.13539.mec.gnu@mindspring.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-01 06:37 -------
You must of copied the wrong test case but here is the correct one:
class B { public: int bb; };
class D : protected B { public: int dd; };
D d;
int main () { return 0; }
But I can confirm this on the mainline and already have a patch :).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2004-01-01 06:37:24
date| |
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13539