public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2747: g++ crashes on illegal code template<...> typename dd;
@ 2001-06-14  5:25 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2001-06-14  5:25 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lachaume, lerdsuwa, nobody

Synopsis: g++ crashes on illegal code template<...> typename dd;

Responsible-Changed-From-To: lerdsuwa->unassigned
Responsible-Changed-By: lerdsuwa
Responsible-Changed-When: Thu Jun 14 05:25:10 2001
Responsible-Changed-Why:
    After some investigation, the problem lies entirely within
    the parser (the template_datadef rule in parse.y
    contains structsp non-terminal which is too broad).  
    It will be reinvestigated after the C++ parser rewrite.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2747&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

* c++/2747: g++ crashes on illegal code template<...> typename dd;
@ 2001-05-05  8:36 lachaume
  0 siblings, 0 replies; 2+ messages in thread
From: lachaume @ 2001-05-05  8:36 UTC (permalink / raw)
  To: gcc-gnats

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1219 bytes --]

>Number:         2747
>Category:       c++
>Synopsis:       g++ crashes on illegal code template<...> typename dd;
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Sat May 05 08:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     lachaume@gagax6.obs.ujf-grenoble.fr
>Release:        latest v3 snapshot (5th of may)
>Organization:
>Environment:
x86 GNU/Linux
>Description:
The incorrect on-line program below make gcc crash
template<class C> typename C::c;

(compiled either with -W -all -ansi -O2 -pedantic or without
option)

Happens with different versions:
-- latest v3 snapshot 
http://www.codesourcery.com/gcc-compile.shtml
5th of May
-- 2.95 on Solaris
clipper ~ $ g++ --version
gcc-2.95
clipper ~ $ uname -a
SunOS clipper 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-250
-- 2.95.3 on linux
gaglin1:~ $ g++ --version
2.95.3
gaglin1:~ $ uname -a
Linux gaglin1 2.4.0 #2 jeu fév 8 07:42:21 CET 2001 i686 unknown
>How-To-Repeat:
Adding an colon after a typename specification in a template
function/class.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-14  5:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-14  5:25 c++/2747: g++ crashes on illegal code template<...> typename dd; lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2001-05-05  8:36 lachaume

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).