This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1 Internal compiler error
- To: <nbecker at fred dot net>
- Subject: Re: egcs-1.1 Internal compiler error
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 12 Sep 1998 12:24:44 +-300
- Cc: egcs-bugs at cygnus dot com
- References: <E0zHAPp-00077k-00@hns.com>
nbecker <nbecker@fred.net> writes:
> g++ -g -c TestFIRPulse.cc -save-temps
> FIR.H: In method `FIR2<InputType,OutputType,CoefType>::FIR2(InputIterator,
> InputIterator, int = 1, int = 1, int = 0)':
> In file included from FIRPulse.H:6,
> from FIRPulse.cc:4,
> from TestFIRPulse.cc:1:
> FIR.H:65: Internal compiler error.
> FIR.H:65: Please submit a full bug report to `egcs-bugs@cygnus.com'.
> I know that the c++ has a mistake, but that shouldn't trigger the
> compiler error.
Agreed. The current CVS image says:
FIR.H: In method `FIR2<InputType,OutputType,CoefType>::FIR2(InputIterator, InputIterator, int = 1, int = 1, int = 0)':
In file included from FIRPulse.H:6,
from FIRPulse.cc:4,
from TestFIRPulse.cc:1:
FIR.H:65: type/value mismatch at argument 1 in template parameter list for `template <class InputType, class OutputType = InputType, class CoefType = InputType> FIR<InputType,OutputType,CoefType>'
FIR.H:65: expected a type, got `T'
FIR.H:65: template argument 2 is invalid
FIR.H:65: template argument 3 is invalid
FIR.H:65: confused by earlier errors, bailing out
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil