compiler error in `find_function_data'; Linux i386; gcc 2.95.2

Andres VHNet Staff aas@vh.net
Wed Dec 8 12:28:00 GMT 1999


When compiling a program, I get the following:

[dilinger@misery lab03]$ make
g++ -g -c string_t.cpp
g++ -g -c booklist_t.cpp
In file included from booklist_t.cpp:2:
booklist_t.h: In method `booklist_t::~booklist_t()':
booklist_t.h:54: Internal compiler error in `find_function_data', at
function.c:542
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
instructions.
make: *** [booklist_t.o] Error 1


Output from `gcc -v --save-temps all-your-options your-file.c` gives:
g++ -v --save-temps -g -c  booklist_t.cpp
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 19991109 (Debian GNU/Linux)
 /usr/lib/gcc-lib/i386-linux/2.95.2/cpp -lang-c++ -v -D__GNUC__=2
-D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix -D__i386__
-Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux
-Asystem(posix) -D__EXCEPTIONS -g -Acpu(i386) -Amachine(i386) -Di386
-D__i386 -D__i386__ booklist_t.cpp booklist_t.ii
GNU CPP version 2.95.2 19991109 (Debian GNU/Linux) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g++-3
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/2.95.2/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/lib/gcc-lib/i386-linux/2.95.2/../../../../i386-linux/include
End of omitted list.
 /usr/lib/gcc-lib/i386-linux/2.95.2/cc1plus booklist_t.ii -quiet -dumpbase
booklist_t.cc -g -version -o booklist_t.s
GNU C++ version 2.95.2 19991109 (Debian GNU/Linux) (i386-linux) compiled
by GNU
C version 2.95.2 19991109 (Debian GNU/Linux).
In file included from booklist_t.cpp:2:
booklist_t.h: In method `booklist_t::~booklist_t()':
booklist_t.h:54: Internal compiler error in `find_function_data', at
function.c:542
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
instructions.
make: *** [booklist_t.o] Error 1


I have attached a tarball with booklist_t.* in it.  The only dependancy 
booklist_t.h has on it is on string_t.h; this is a simple string class
emulating std::string.  Simply change `#include "string_t.h"` to `#include
<string>`, and add `typedef string_t std::string;`, and this will be
resolved.  


-Andres Salomon <aas@vh.net>




-------------- next part --------------
A non-text attachment was scrubbed...
Name: booklist_t.tar.gz
Type: application/x-gzip
Size: 11759 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19991208/06d10c9d/attachment.bin>


More information about the Gcc-bugs mailing list