Your message dated Sun, 28 Mar 2004 16:24:12 +0200
with message-id <[EMAIL PROTECTED]>
and subject line [Bug c++/14242] [3.4/3.5 regression] symbol lookup in 
templates (forwarded from mmitchel at gcc dot gnu dot org)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Feb 2004 20:20:41 +0000
>From [EMAIL PROTECTED] Fri Feb 20 12:20:41 2004
Return-path: <[EMAIL PROTECTED]>
Received: from master.debian.org [146.82.138.7] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AuH8b-00036W-00; Fri, 20 Feb 2004 12:20:41 -0800
Received: from p50862648.dip0.t-ipconnect.de (terra.sol.org) [80.134.38.72] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AuH8a-0005V1-00; Fri, 20 Feb 2004 14:20:41 -0600
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="ISO-8859-15"
From: Andre Woebbeking <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: gcc-snapshot: Broken symbol lookup in templates
X-Mailer: reportbug 2.48
Date: Fri, 20 Feb 2004 21:20:54 +0100
X-Debbugs-Cc: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_18 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=HAS_PACKAGE,OUR_MTA_MSGID,
        X_DEBBUGS_CC autolearn=no version=2.60-bugs.debian.org_2004_02_18
X-Spam-Level: 

Package: gcc-snapshot
Version: 20040215-1
Severity: important
Tags: sid

Hi,

the following code doesn't compile:



void bla(const char&) {};
void bla(const int&) {};

template<typename T>
void foo()
{
    void (*g)(const T&) = bla;
}

void bla(const double&) {};

int main()
{
    foo<double>();

    return 0;
}


If I move bla(const double&) in front of the template it compiles.


Cheers,
André


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.2-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages gcc-snapshot depends on:
ii  binutils                   2.14.90.0.7-5 The GNU assembler, linker and bina
ii  libart-2.0-2               2.3.16-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.4.1-1       The ATK accessibility toolkit
ii  libc6                      2.3.2.ds1-11  GNU C Library: Shared libraries an
ii  libglib2.0-0               2.2.3-1       The GLib library of C routines
ii  libgtk2.0-0                2.2.4-3       The GTK+ graphical user interface 
ii  libice6                    4.3.0-2       Inter-Client Exchange library
ii  libpango1.0-0              1.2.5-2.1     Layout and rendering of internatio
ii  libsm6                     4.3.0-2       X Window System Session Management
ii  libx11-6                   4.3.0-2       X Window System protocol client li
ii  xlibs                      4.3.0-2       X Window System client libraries m
ii  zlib1g                     1:1.2.1-4     compression library - runtime

-- no debconf information


---------------------------------------
Received: (at 233934-done) by bugs.debian.org; 28 Mar 2004 14:29:03 +0000
>From [EMAIL PROTECTED] Sun Mar 28 06:29:03 2004
Return-path: <[EMAIL PROTECTED]>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1B7bHa-0002Ex-00; Sun, 28 Mar 2004 06:29:03 -0800
Received: from bolero.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.19.1])
        by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id QAA22871
        for <[EMAIL PROTECTED]>; Sun, 28 Mar 2004 16:24:12 +0200 (MET DST)
Received: (from [EMAIL PROTECTED])
        by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id i2SEOCMN016165;
        Sun, 28 Mar 2004 16:24:12 +0200 (MEST)
From: Matthias Klose <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="iYyFDXahky"
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Date: Sun, 28 Mar 2004 16:24:12 +0200
To: [EMAIL PROTECTED]
Subject: [Bug c++/14242] [3.4/3.5 regression] symbol lookup in templates 
(forwarded from mmitchel at gcc dot gnu dot org)
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-0.4 required=4.0 tests=BAYES_00,MAILTO_WITH_SUBJ 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--iYyFDXahky
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

report closed upstream. see http://gcc.gnu.org/PR14242.


--iYyFDXahky
Content-Type: message/rfc822
Content-Description: forwarded message
Content-Transfer-Encoding: 7bit

Received: from cartero.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.17.20])
        by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id IAA27992
        for <[EMAIL PROTECTED]>; Tue, 9 Mar 2004 08:24:32 +0100 (MET)
Received: from localhost (localhost [127.0.0.1])
        by localhost-10025.cs.tu-berlin.de (Postfix) with ESMTP id 1F303195C86
        for <[EMAIL PROTECTED]>; Tue,  9 Mar 2004 08:24:31 +0100 (MET)
Received: from cartero.cs.tu-berlin.de ([127.0.0.1])
 by localhost (cartero [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 02293-06 for <[EMAIL PROTECTED]>; Tue,  9 Mar 2004 08:24:29 +0100 (MET)
Received: from murphy.debian.org (murphy.debian.org [146.82.138.6])
        by cartero.cs.tu-berlin.de (Postfix) with ESMTP id A2AE4130B8B
        for <[EMAIL PROTECTED]>; Tue,  9 Mar 2004 08:24:27 +0100 (MET)
Received: from localhost (localhost [127.0.0.1])
        by murphy.debian.org (Postfix) with QMQP
        id CFD59EDC7; Tue,  9 Mar 2004 01:24:25 -0600 (CST)
Old-Return-Path: <[EMAIL PROTECTED]>
X-Original-To: debian-gcc@lists.debian.org
Received: from sources.redhat.com (sources.redhat.com [67.72.78.213])
        by murphy.debian.org (Postfix) with SMTP id DAA08E924
        for <debian-gcc@lists.debian.org>; Tue,  9 Mar 2004 01:03:04 -0600 (CST)
Received: (qmail 22563 invoked by uid 48); 9 Mar 2004 07:02:55 -0000
Message-ID: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
X-Bugzilla-Reason: Reporter
X-Mailing-List: <debian-gcc@lists.debian.org> archive/latest/9614
X-Loop: debian-gcc@lists.debian.org
List-Id: <debian-gcc.lists.debian.org>
List-Post: <mailto:debian-gcc@lists.debian.org>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <mailto:[EMAIL PROTECTED]>
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Archive: <http://lists.debian.org/debian-gcc/>
Precedence: list
X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de (including spamassassin)
Resent-Message-ID: <[EMAIL PROTECTED]>
Resent-From: debian-gcc@lists.debian.org
Resent-Sender: [EMAIL PROTECTED]
Resent-Date: Tue,  9 Mar 2004 01:24:25 -0600 (CST)
From: "mmitchel at gcc dot gnu dot org" <[EMAIL PROTECTED]>
To: debian-gcc@lists.debian.org
Subject: [Bug c++/14242] [3.4/3.5 regression] symbol lookup in templates
Date: 9 Mar 2004 07:02:55 -0000
MIME-Version: 1.0


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-03-09 
07:02 -------
This is not a bug.  

The name is non-dependent, and so name lookup finds only the first two 
declarations.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14242

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

--iYyFDXahky--


Reply via email to