From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14175 invoked by alias); 15 Nov 2001 16:16:09 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 14121 invoked by uid 71); 15 Nov 2001 16:16:04 -0000 Resent-Date: 15 Nov 2001 16:16:04 -0000 Resent-Message-ID: <20011115161604.14120.qmail@sourceware.cygnus.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, duret_g@epita.fr Received:(qmail 13525 invoked by uid 61); 15 Nov 2001 16:14:09 -0000 Message-Id:<20011115161409.13524.qmail@sourceware.cygnus.com> Date: Sun, 04 Nov 2001 02:38:00 -0000 From: duret_g@epita.fr Reply-To: duret_g@epita.fr To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.2 (1.1.1.1.2.21) Subject: c++/4882: fails to lookup a template specialization dependent of an outer template X-SW-Source: 2001-11/txt/msg00090.txt.bz2 List-Id: >Number: 4882 >Category: c++ >Synopsis: fails to lookup a template specialization dependent of an outer template >Confidential: no >Severity: serious >Priority: low >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Thu Nov 15 08:16:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: duret_g@epita.fr >Release: 3.0.2 >Organization: >Environment: Debian GNU/Linux i386 >Description: [I'm sorry if this falls into the "two stage lookup in template" category. The bugs.html page does not explain what that means.] GCC fails to compile the attached file as follow: ~/tmp % gcc-3.0 c2.cc c2.cc: In function `int main()': c2.cc:20: `ret' is not a member of type `C<1, 2>::output >' c2.cc:20: parse error before `;' token The on-line C/C++ Comeau compiles it just fine. >How-To-Repeat: Compile the attached file. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/x-c++src; name="c2.cc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="c2.cc" dGVtcGxhdGU8IHVuc2lnbmVkIGIsIHVuc2lnbmVkIGM+IGNsYXNzIEQge307Cgp0ZW1wbGF0ZTwg dW5zaWduZWQgaWMsIHVuc2lnbmVkIG9jID4Kc3RydWN0IEMKewogIHRlbXBsYXRlIDxjbGFzcyBU PgogIHN0cnVjdCBvdXRwdXQgewogIH07CgogIHRlbXBsYXRlIDx1bnNpZ25lZCBRPgogIHN0cnVj dCBvdXRwdXQ8RDxRLCBpYz4gPgogIHsKICAgIHR5cGVkZWYgRDxRLCBvYz4gcmV0OwogIH07Cgp9 OwoKaW50IG1haW4gKCkKewogIEM8MSwyPjo6b3V0cHV0PEQ8OCwxPiA+OjpyZXQgZzsKfQo=