public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10560: [3.4] two-stage name lookup of functions doesn't work
@ 2003-04-30 4:26 bangerth
0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-04-30 4:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 10560
>Category: c++
>Synopsis: [3.4] two-stage name lookup of functions doesn't work
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 30 04:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Wolfgang Bangerth
>Release: unknown-1.0
>Organization:
>Environment:
present mainline
>Description:
Two-stage name lookup for functions is supposed to work,
based on the fact that PRs 9476, 7308, and 2437 are closed.
However, this still compiles (but doesn't with icc -Xc -ansi,
for example):
------------------------
template <int> struct X {
void foo () {
bar();
}
};
------------------------
W.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/10560: [3.4] two-stage name lookup of functions doesn't work
@ 2003-05-06 17:18 giovannibajo
0 siblings, 0 replies; 2+ messages in thread
From: giovannibajo @ 2003-05-06 17:18 UTC (permalink / raw)
To: bangerth, gcc-bugs, gcc-prs, nobody
Synopsis: [3.4] two-stage name lookup of functions doesn't work
State-Changed-From-To: open->analyzed
State-Changed-By: bajo
State-Changed-When: Tue May 6 17:18:13 2003
State-Changed-Why:
I tend to agree on this. I'm still fuzzy on some
implications of the two-stage lookup, but bar() is a non-
dependent name, so IMO it should looked up at template
definition time, not instantiation.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10560
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-06 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-30 4:26 c++/10560: [3.4] two-stage name lookup of functions doesn't work bangerth
2003-05-06 17:18 giovannibajo
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).