From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2008 invoked by alias); 21 Mar 2011 14:35:05 -0000 Received: (qmail 1763 invoked by uid 22791); 21 Mar 2011 14:35:02 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Mar 2011 14:34:51 +0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/39751] ICE in cp_lexer_new_from_tokens, at cp/parser.c:342 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Mon, 21 Mar 2011 14:46:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg02217.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D39751 --- Comment #8 from Zdenek Sojka 2011-03-21 14:34= :14 UTC --- (In reply to comment #7) > I just checked again and this problem seems to be fixed in trunk now. It still crashes for me (with the testcase from comment #0): $ gcc-4.7.0-pre9999 xxx.C xxx.C:5:1: error: types may not be defined in template arguments xxx.C:6:4: error: ISO C++ forbids declaration of =E2=80=98f=E2=80=99 with n= o type [-fpermissive] xxx.C:6:6: error: expected =E2=80=98}=E2=80=99 at end of input xxx.C:6:6: error: expected template-argument at end of input xxx.C:6:6: error: expected =E2=80=98>=E2=80=99 at end of input xxx.C:6:6: error: expected =E2=80=98::=E2=80=99 at end of input xxx.C:6:6: error: expected unqualified-id at end of input xxx.C:6:6: error: expected =E2=80=98;=E2=80=99 at end of input xxx.C:6:6: error: expected =E2=80=98}=E2=80=99 at end of input xxx.C:6:6: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:395 Please submit a full bug report, with preprocessed source if appropriate. See for instructions.