public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10372: [3.4 regression] illegal access of non-existant-member A::i
@ 2003-04-10 21:26 reichelt
0 siblings, 0 replies; only message in thread
From: reichelt @ 2003-04-10 21:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 10372
>Category: c++
>Synopsis: [3.4 regression] illegal access of non-existant-member A::i
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Thu Apr 10 21:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Volker Reichelt
>Release: gcc 3.4-20030402
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
Mainline g++ accepts the following illegal code:
----------------------snip here---------------------
struct A {};
template <int> struct B
{
int foo() { return A::i; }
};
void bar() { B<0>().foo(); }
----------------------snip here---------------------
This is a regression w.r.t. the 3.3 branch.
For related issues see PR 9443 and PR 10371.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-10 21:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-10 21:26 c++/10372: [3.4 regression] illegal access of non-existant-member A::i reichelt
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).