public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9795: [3.4 regression] botched name lookup in templates
@ 2003-02-23 16:22 ehrhardt
  0 siblings, 0 replies; 3+ messages in thread
From: ehrhardt @ 2003-02-23 16:22 UTC (permalink / raw)
  To: bangerth, gcc-bugs, gcc-prs, nobody

Synopsis: [3.4 regression] botched name lookup in templates

State-Changed-From-To: open->analyzed
State-Changed-By: cae
State-Changed-When: Sun Feb 23 16:22:49 2003
State-Changed-Why:
    Confirmed as a regression.

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


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

* Re: c++/9795: [3.4 regression] botched name lookup in templates
@ 2003-04-18 12:44 reichelt
  0 siblings, 0 replies; 3+ messages in thread
From: reichelt @ 2003-04-18 12:44 UTC (permalink / raw)
  To: bangerth, gcc-bugs, gcc-prs, nobody

Synopsis: [3.4 regression] botched name lookup in templates

State-Changed-From-To: analyzed->closed
State-Changed-By: reichelt
State-Changed-When: Fri Apr 18 12:44:13 2003
State-Changed-Why:
    Fixed (most likely by Mark's patch for PR 10381).

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


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

* c++/9795: [3.4 regression] botched name lookup in templates
@ 2003-02-21 23:56 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-02-21 23:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         9795
>Category:       c++
>Synopsis:       [3.4 regression] botched name lookup in templates
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 21 23:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Bangerth
>Release:        unknown-1.0
>Organization:
>Environment:
present 3.4, 3.3 not affected
>Description:
Resulting from a typo...

This should absolutely not compile:
-----------------------------
struct A;

template <int> int f() { return A::a; }

int main () {
  return f<2>();
}
-----------------------------
A has no member A::a. However, present 3.4 happily groks
this and returns '0'. Don't anybody ask me what's going
on here...

W:
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-04-18 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-23 16:22 c++/9795: [3.4 regression] botched name lookup in templates ehrhardt
  -- strict thread matches above, loose matches on Subject: below --
2003-04-18 12:44 reichelt
2003-02-21 23:56 bangerth

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).