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]

Bug report?



Hi!  I just built ecgs-1.0.2, and the first code I try to compile
tells me to send you a note!  It is not clear to me that my code is
correct C++, but nonetheless the compiler shouldn't give an error
message like this.

download@athens% /usr/local/bin/g++ --version 
egcs-2.90.27 980315 (egcs-1.0.2 release)
download@athens% uname -a
Linux athens 2.0.33 #1 Sat Feb 7 12:54:10 EST 1998 i586 unknown

I used the default configuration given in the distribution.

Otherwise, I very much appreciate the new features available through
ecgs.  Thank you!

        Regards,
        Mike

The code is given in the following shell script:
#!/bin/sh

cat >temp.C <<'EOF'

#include <iostream>

template<>
void a<double>() {
  cout << " in a<double> " << endl;
}

int main() {
  a<double>();

  return 0;
}
EOF

/usr/local/bin/g++ -o temp temp.C

# The command produces:
# temp.C:5: Internal compiler error 9.
# temp.C:5: Please submit a full bug report to `egcs-bugs@cygnus.com'.


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