public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3890: Template argument
@ 2001-07-30 20:06 fasbjx, Branjonneau
0 siblings, 0 replies; only message in thread
From: fasbjx, Branjonneau @ 2001-07-30 20:06 UTC (permalink / raw)
To: gcc-gnats, debian-gcc
>Number: 3890
>Category: c++
>Synopsis: Template argument problem
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon Jul 30 20:06:01 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 T >
struct S {
enum { x = true };
template< bool = x >
struct C;
};
template S< int >;
don't compile. 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/@1335.7.cc: In instantiation of `S':
/usr/tmp/@1335.7.cc:10: instantiated from here
/usr/tmp/@1335.7.cc:4: Internal compiler error in tsubst_decl, at cp/pt.c:6038
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-30 20:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-30 20:06 c++/3890: Template argument fasbjx, Branjonneau
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).