c++/8020: comma instead of bracket produces ice

petridis@iit.demokritos.gr petridis@iit.demokritos.gr
Tue Sep 24 07:26:00 GMT 2002


>Number:         8020
>Category:       c++
>Synopsis:       comma instead of bracket produces ice
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 24 07:06:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergios
>Release:        unknown-1.0
>Organization:
>Environment:
Configured with: /netrel/src/gcc-3.2-1/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin
Thread model: posix
gcc version 3.2 20020818 (prerelease)
>Description:
When putting a , instead of > to close a template parameter list declaration 
that is followed by a template specialization of class,
which inherits somehow from a third class, 
a segmentation fault is issued. 

The error, however, is visible, so this is not very important. 
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="temp.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="temp.cpp"

I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDx2ZWN0b3I+CgpjbGFzcyBBMXt9OyBjbGFzcyBB
Mnt9OwoKY2xhc3MgQnt9OyAvL3BhcmVudCBjbGFzcwoKdGVtcGxhdGUgPGNsYXNzIFQxLCBjbGFz
cyBUMiA+IApjbGFzcyBDIAp7IH07Cgp0ZW1wbGF0ZSA8Y2xhc3MgVCAsCmNsYXNzIEM8QTEsIFQ+
IDogQgp7IH07CgoKaW50IG1haW4oKQp7CiAgQjxBMSxBMj4gYjsKICByZXR1cm4gMDsKfQoKCg==



More information about the Gcc-bugs mailing list