This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Error 364 when returning "*NULL"
- To: egcs-bugs at cygnus dot com
- Subject: Error 364 when returning "*NULL"
- From: Peter Corlett <abuse at verrine dot demon dot co dot uk>
- Date: Sun, 3 Jan 1999 18:55 +0000
- Organization: B13 C*b*l
I appear to have triggered a bug by trying to return the value of
"*NULL". This is with the version of egcc provided with Debian Linux
2.0:
abuse@verrine:~/jas-0.1/src$ cat egcc.cc
#include <String.h>
class indConstant {
public:
const String &indConstant::toString(void) const;
};
const String &indConstant::toString(void) const {
return *NULL;
}
abuse@verrine:~/jas-0.1/src$ egcc egcc.cc
egcc.cc: In method `const class String & indConstant::toString() const':
egcc.cc:9: Internal compiler error 364.
egcc.cc:9: Please submit a full bug report to `egcs-bugs@cygnus.com'.
abuse@verrine:~/jas-0.1/src$ egcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
--
Peter Corlett, Moseley, Birmingham, England. Tel. +44 7050 603311
Usenet Millenium in 49 days: Will October arrive at last?