This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug report?
- To: egcs-bugs at cygnus dot com
- Subject: Bug report?
- From: Michael Sadd <sadd at msc dot cornell dot edu>
- Date: Mon, 13 Apr 1998 22:59:40 -0400 (EDT)
- Reply-To: sadd at msc dot cornell dot edu
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'.