From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7423 invoked by alias); 13 May 2003 02:06:02 -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 7296 invoked by uid 71); 13 May 2003 02:06:01 -0000 Resent-Date: 13 May 2003 02:06:01 -0000 Resent-Message-ID: <20030513020601.7294.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, mark@codesourcery.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, oldham@codesourcery.com Received: (qmail 17242 invoked by uid 48); 13 May 2003 01:57:30 -0000 Message-Id: <20030513015730.17239.qmail@sources.redhat.com> Date: Tue, 13 May 2003 02:06:00 -0000 From: oldham@codesourcery.com Reply-To: oldham@codesourcery.com To: gcc-gnats@gcc.gnu.org Cc: mark@codesourcery.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: mark@codesourcery.com Subject: c++/10762: parser failure on illegal templated type declared with 'using' X-SW-Source: 2003-05/txt/msg01413.txt.bz2 List-Id: >Number: 10762 >Category: c++ >Synopsis: parser failure on illegal templated type declared with 'using' >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Tue May 13 02:06:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Jeffrey D. Oldham >Release: development >Organization: >Environment: i686-pc-linux-gnu >Description: goo.cc: In function `int main()': goo.cc:7: internal compiler error: in cp_parser_lookup_name, at cp/parser.c: 13222 Please submit a full bug report, The code is illegal because 'template-id's are not permitted in using declarations. The parser does not catch this until this illegal type is used. >How-To-Repeat: g++ goo.cc >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="goo.cc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="goo.cc" bmFtZXNwYWNlIE4gewogIHRlbXBsYXRlIDx0eXBlbmFtZSBUPgogIHN0cnVjdCBmb28ge307Cn0K CmludCBtYWluKCkgewogIHVzaW5nIE46OmZvbzxkb3VibGU+CgogIGZvbzxkb3VibGU+IGM7Cgog IHJldHVybiAwOwp9Cg==