c++/3762: ice-on-illegal

fasbjx@libertysurf.fr fasbjx@libertysurf.fr
Sun Jul 22 00:36:00 GMT 2001


	Note: There was a bad value `?' for the field `>Priority:'.
	It was set to the default value of `medium'.


>Number:         3762
>Category:       c++
>Synopsis:       ice on illegal code
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 22 00:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Franck Branjonneau
>Release:        3.0 (Debian) (Debian testing/unstable)
>Organization:
>Environment:
System: Linux alpha.tchume.net 2.4.4 #2 mar mai 22 08:16:07 CEST 2001 i586 unknown
Architecture: i586

	
host: i386-pc-linux-gnu
build: i386-pc-linux-gnu
target: i386-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-x --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
	
The following code:

template< typename X, typename Y, int N = 0 >
class R;

template< typename X, typename Y, int N, int x, int y >
class R< X, Y, N >::I;

don't compile as (from codesourcery)
GCC Output

These are the results of processing your source code with the following command:

    g++ [input] 

Exit code: 256

Messages:

    /usr/tmp/@14600.7.cc:5: Internal error: Segmentation fault


>How-To-Repeat:
	
>Fix:
	
Write legal code only.





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



More information about the Gcc-bugs mailing list