public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* internal error: template member template
@ 1999-07-07 4:28 Markus Werle
1999-07-13 3:28 ` Alexandre Oliva
0 siblings, 1 reply; 2+ messages in thread
From: Markus Werle @ 1999-07-07 4:28 UTC (permalink / raw)
To: egcs-bugs
Hi!
My Compiler asked me to submit a bug report:
> g++ LoopOverTemplateFunction.2.C
LoopOverTemplateFunction.2.C:17: Internal compiler error 354.
LoopOverTemplateFunction.2.C:17: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com'.
> g++ --version
egcs-2.91.66
Thanks for any answer.
Markus
BUG REPORT:
> uname -a
Linux sylvie 2.0.35 #66 Thu Aug 20 14:18:52 MEST 1998 i686 unknown
> gcc -v --save-temps LoopOverTemplateFunction.2.C
Reading specs from
/opt/egcs-1.1.2/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
/opt/egcs-1.1.2/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.66/cpp -lang-c++
-v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -D__ELF__
-Dunix -Di386 -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__i386__
-D__linux__ -D__unix -D__i386 -D__linux -Asystem(posix) -D__EXCEPTIONS
-Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686
-Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__
LoopOverTemplateFunction.2.C LoopOverTemplateFunction.2.ii
GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/opt/egcs-1.1.2/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.66/include/g++
/usr/local/include
/opt/egcs-1.1.2/i686-pc-linux-gnulibc1/include
/opt/egcs-1.1.2/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.66/include
/usr/include
End of search list.
/opt/egcs-1.1.2/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.66/cc1plus
LoopOverTemplateFunction.2.ii -quiet -dumpbase LoopOverTemplateFunction.2.cc
-version -o LoopOverTemplateFunction.2.s
GNU C++ version egcs-2.91.66 19990314 (egcs-1.1.2 release)
(i686-pc-linux-gnulibc1) compiled by GNU C version egcs-2.91.66 19990314
(egcs-1.1.2 release).
LoopOverTemplateFunction.2.C:17: Internal compiler error 354.
LoopOverTemplateFunction.2.C:17: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com'.
LoopOverTemplateFunction.2.C:17: See
<URL: http://egcs.cygnus.com/faq.html#bugreport > for details.
-------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: internal error: template member template
1999-07-07 4:28 internal error: template member template Markus Werle
@ 1999-07-13 3:28 ` Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 1999-07-13 3:28 UTC (permalink / raw)
To: Markus Werle; +Cc: egcs-bugs
On Jul 7, 1999, Markus Werle <markus@lufmech.rwth-aachen.de> wrote:
> LoopOverTemplateFunction.2.C:17: Internal compiler error 354.
> template <int i, int j, bool b=(i<=j)> class LoopFromTo { public:
> template<template<> class f> void Exec() {
Thanks for your bug report. The problem appears to be fixed in the
upcoming gcc 2.95. It says:
LoopOverTemplateFunction.2.C: At top level:
LoopOverTemplateFunction.2.C:14: explicit specialization in non-namespace scope `LoopFromTo<i,j,b>'
LoopOverTemplateFunction.2.C:14: enclosing class templates are not explicitly specialized
Which is an awkward error message, but not an ICE.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-07-13 3:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-07 4:28 internal error: template member template Markus Werle
1999-07-13 3:28 ` Alexandre Oliva
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).