c++/10560: [3.4] two-stage name lookup of functions doesn't work

bangerth@dealii.org bangerth@dealii.org
Wed Apr 30 04:26:00 GMT 2003


>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:



More information about the Gcc-prs mailing list