Internal Compiler Error

Chris Tracy chris.tracy@usa.net
Thu Dec 17 21:22:00 GMT 1998


Hello,

	Umm...well I'm not really much more than a recreational programmer, so 
I don't really know if this is a real bug, or simply something stupid that I've 
done.  Nevertheless, I figure you may want to have a look at it.  I've included all 
the code that you'll need to compile and recreate the problem.  (However, I'm 
not quite sure how to write up a full bug report, so here's the best I can do)  

	I'm running egcs-version 2.91.57 on Red Hat 5.2 (Linux 2.1.131) on an 
AMD K6-2 333 with 128 Mb RAM.  I'm using JX 1.1.18 as my IDE.  This code is 
just a high school computer science extra-credit assignment.  The exact error 
message is:

linkbak.h:295: Internal compiler error.  Please submit a full bug report to
	'egcs-bugs@cygnus.com'

	Unfortunately, I'm not experienced enough with compilers in general to 
know what to look for.  However, if there's anything else I can give you, please 
let me know.

	Basically I'm trying to write a function that returns the head (a pointer to 
another templated class) for use in the LinkedList copy-constructor.  The 
program is supposed to print the song, "The Twelve Days of Christmas."  
Admittedly, the code is quite hideous, but I'm no C++ wizard.

	Oh, the exact compile line is:

g++ -g -o song song.cpp

	Thank you,

	Chris

-------------------------------
Chris Tracy
Email/Network Administrator (and Senior)
Broad Run High School
"Wherever you go, there you are"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apstring.cpp
Type: text/x-c
Size: 11582 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19981217/3e6d56f5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apstring.h
Type: text/x-c++
Size: 3650 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19981217/3e6d56f5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkbak.h
Type: text/x-c++
Size: 4578 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19981217/3e6d56f5/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node.h
Type: text/x-c++
Size: 118 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19981217/3e6d56f5/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: song.cpp
Type: text/x-c++
Size: 2400 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19981217/3e6d56f5/attachment-0004.bin>


More information about the Gcc-bugs mailing list