public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10762: parser failure on illegal templated type declared with 'using'
@ 2003-05-13 5:36 Dara Hazeghi
0 siblings, 0 replies; 2+ messages in thread
From: Dara Hazeghi @ 2003-05-13 5:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/10762; it has been noted by GNATS.
From: Dara Hazeghi <dhazeghi@yahoo.com>
To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Cc:
Subject: Re: c++/10762: parser failure on illegal templated type declared with 'using'
Date: Mon, 12 May 2003 22:27:26 -0700
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
trail&database=gcc&pr=10762
Hello,
this testcase works fine on gcc 3.2 and 3.3 branch, but not on mainline
(20030512), making this is a regression.
Dara
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/10762: parser failure on illegal templated type declared with 'using'
@ 2003-05-13 2:06 oldham
0 siblings, 0 replies; 2+ messages in thread
From: oldham @ 2003-05-13 2:06 UTC (permalink / raw)
To: gcc-gnats; +Cc: mark
>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==
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-13 5:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13 5:36 c++/10762: parser failure on illegal templated type declared with 'using' Dara Hazeghi
-- strict thread matches above, loose matches on Subject: below --
2003-05-13 2:06 oldham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).