public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/6356: GCC doesn't compile correct code.
@ 2002-04-18  6:26 comer
  0 siblings, 0 replies; 2+ messages in thread
From: comer @ 2002-04-18  6:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6356
>Category:       c++
>Synopsis:       GCC doesn't compile correct code.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 18 06:26:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Shandar
>Release:        2.95.3-5 (cygwin special)
>Organization:
>Environment:
Windows 2000
>Description:
using.cpp:18: no members matching `using C::Func' in `struct C'
>How-To-Repeat:
struct A
{
	void Func(void) { }
};

struct B
{
	void Func(void) { }
};

struct C: public B, public A
{
	using B::Func;
};

struct D: public C
{
	using C::Func;
};

int main(void)
{
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="using.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="using.cpp"

c3RydWN0IEENCnsNCgl2b2lkIEZ1bmModm9pZCkgeyB9DQp9Ow0KDQpzdHJ1Y3QgQg0Kew0KCXZv
aWQgRnVuYyh2b2lkKSB7IH0NCn07DQoNCnN0cnVjdCBDOiBwdWJsaWMgQiwgcHVibGljIEENCnsN
Cgl1c2luZyBCOjpGdW5jOw0KfTsNCg0Kc3RydWN0IEQ6IHB1YmxpYyBDDQp7DQoJdXNpbmcgQzo6
RnVuYzsNCn07DQoNCmludCBtYWluKHZvaWQpDQp7DQp9


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/6356: GCC doesn't compile correct code.
@ 2002-05-14  8:01 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-05-14  8:01 UTC (permalink / raw)
  To: comer, gcc-bugs, gcc-prs, nobody

Synopsis: GCC doesn't compile correct code.

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Tue May 14 08:01:04 2002
State-Changed-Why:
    Fixed in 3.1 branch and main trunk.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6356


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-14 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-18  6:26 c++/6356: GCC doesn't compile correct code comer
2002-05-14  8:01 lerdsuwa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).