This is the mail archive of the 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]

bug in egcs-1.01

As requested by the program, I send this bug report:

>uname -a
Linux pcbh 2.0.33 #1 Wed Dec 17 09:29:21 CET 1997 i586 unknown

>g++ --version.C -o bug.o
egcs-2.90.23 980102 (egcs-1.0.1 release)

>cat bug.C
#include <math.h>
#include <complex>
typedef complex<double> Complex;

template<class scalar_type> class BasicArray

template<class scalar_type>
Vector : public BasicArray<scalar_type>
  Vector() {};
  friend Vector<scalar_type>
  operator*<>(const Complex d,
              const Vector<scalar_type>& v)
    { return v * d; }

>g++ -v -c bug.C -o bug.o
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.23/specs
gcc version egcs-2.90.23 980102 (egcs-1.0.1 release)
 /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.23/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=90 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Di386 -Di586 -Asystem(unix) -Acpu(i386) -Amachine(i386) -D__i386__ -D__i586__ -Asystem(unix) -Acpu(i386) -Amachine(i386) bug.C /tmp/cca04696.ii
GNU CPP version egcs-2.90.23 980102 (egcs-1.0.1 release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
End of search list.
 /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.23/cc1plus /tmp/cca04696.ii -quiet -dumpbase -version -o /tmp/cca04696.s
GNU C++ version egcs-2.90.23 980102 (egcs-1.0.1 release) (i586-pc-linux-gnulibc1) compiled by GNU C version 2.8.0.
bug.C:20: Internal compiler error.
bug.C:20: Please submit a full bug report to `'.


Berthold Höllmann

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