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 #2
- To: <nbecker at fred dot net>
- Subject: Re: egcs-1.1 Internal Compiler Error #2
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 12 Sep 1998 12:22:10 +-300
- Cc: egcs-bugs at cygnus dot com
- References: <E0zHAjq-00079j-00@hns.com>
nbecker <nbecker@fred.net> writes:
> g++ -c TestFIRPulse.cc -save-temps
> FIRPulse.cc: In method `FIRPulse<double>::FIRPulse<double>(const class PulseShape<double> &, int, int)':
> TestFIRPulse.cc:8: instantiated from here
> FIRPulse.cc:6: Internal compiler error.
> FIRPulse.cc:6: Please submit a full bug report to
> `egcs-bugs@cygnus.com'.
The current CVS image says:
FIRPulse.cc: In method `FIRPulse<double>::FIRPulse(const class PulseShape<double> &, int, int)':
TestFIRPulse.cc:8: instantiated from here
FIRPulse.cc:6: no matching function for call to `FIR2<double,double,double>::FIR2 (int, FIR2<double,double,double>::DUMMY_T *, int, int, int &, int)'
FIR.H:52: candidates are: FIR2<double,double,double>::FIR2(const FIR2<double,double,double> &)
FIR.H:71: FIR2<double,double,double>::FIR2(int, FIR2<double,double,double>::DUMMY_T *, int, int, int)
FIR.H:75: FIR2<double,double,double>::FIR2(istream, int, int, int)
Look, there's one extra argument in the constructor invocation in
FIRPulse.cc:6. I just don't understand why egcs says the base class
is FIR2<double,double,double>. It seems to me that it should be just
FIR2<double>, right?
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil