internal comiler error bug report

James DuPlain jdupla1@umbc.edu
Thu Oct 8 20:46:00 GMT 1998


got an Internal compiler error.  Here it is.
RedHat 5.1
pentium 233mmx, 64MB RAM, 100MB SWAP

[james@cascades tmp]$ gcc --version
2.7.2.3

[james@cascades tmp]$ g++ --version
egcs-2.90.27 980315 (egcs-1.0.2 release)

[james@cascades tmp]$ make
g++ -g -c  complex.C
g++    -c project2_util.C -o project2_util.o
In file included from project2_util.C:12:
array.h:97: Internal compiler error.
array.h:97: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make: *** [project2_util.o] Error 1
# Makefile for Project2  CMSC341  Spring 1998
# March 1998
# ---------  MACROS  ---------

COURSE  =   CMSC341
PROGRAM =   project2

INCLUDE =   array.h complex.h 
#measure.h sorting.h

#  .o files needed only for .C files without template definitions
OBJECTS =   complex.o project2_util.o
#measure.o 

LIBRARIES = 
#-lm
CFLAGS  =  -g
CC      =  g++


# ---------  DEPENDENCIES/ACTIONS  ---------
$(PROGRAM):   $(INCLUDE)  $(PROGRAM).C $(OBJECTS)
	$(CC) $(CFLAGS) -o $@ $(OBJECTS)   $@.C -lm

project2.o:	project2.C $(INCLUDE)
	$(CC) $(CFLAGS) -c project2.C
complex.o: complex.C $(INCLUDE)
	$(CC) $(CFLAGS) -c  complex.C
#measure.o: measure.C $(INCLUDE)
#	$(CC) $(CFLAGS) -c  measure.C
#project2_util.o: project2_util.C $(INCLUDE)
#	$(CC) $(CFLAGS) -c  project2_util.C



# ---------  CLEANUP  ---------
clean:
	touch foo~;
	rm -f *~
cleaner:
	make clean;
	touch foo.o;
	rm -f *.o 
cleanest:
	make cleaner;
	touch core;
	touch $(PROGRAM);
	rm -f  core $(PROGRAM) 






More information about the Gcc-bugs mailing list