This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-1.1 Internal compiler error


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]