This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Internal compile error...reporting.


To whom it might be of some interest...
I'm reporting a bug (internal compiler error).

I have include the files(hope it's enough):

- bytecpyramid.ii.gz
-bytecpyramid.s

Here's the output in the shell's command console:

silicon{ilya}65: g++ -v --save-temps -Wall -Wstrict-prototypes -O2 -ansi -c -o
bytecpyramid.C
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.95.2/specs
gcc version 2.95.2 19991024 (release)
silicon{ilya}66: gcc -v -save-temps -Wall -Wstrict-prototypes -O2 -ansi -c -o
bytecpyramid.C
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.95.2/specs
gcc version 2.95.2 19991024 (release)
silicon{ilya}67: gcc g++ -v --save-temps -Wall -Wstrict-prototypes -O2 -ansi -c
-o bytecpyramid.C
gcc: g++: No such file or directory
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.95.2/specs
gcc version 2.95.2 19991024 (release)
silicon{ilya}68: gcc -v --save-temps -Wall -Wstrict-prototypes -O2 -ansi -c
bytecpyramid.C
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.95.2/cpp -lang-c++ -v
-D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -trigraphs
-D__STRICT_ANSI__ -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix
-Asystem(unix) -Asystem(bsd) -D__EXCEPTIONS -D__OPTIMIZE__ -Wall
-Wstrict-prototypes -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc)
bytecpyramid.C bytecpyramid.ii
GNU CPP version 2.95.2 19991024 (release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.95.2/../../../../include/g++-3
 /usr/local/include
 /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.95.2/../../../../sparc-sun-sunos4.1.3/include

 /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.95.2/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
 /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.95.2/cc1plus bytecpyramid.ii
-quiet -dumpbase bytecpyramid.cc -O2 -Wall -Wstrict-prototypes -ansi -version -o
bytecpyramid.s
GNU C++ version 2.95.2 19991024 (release) (sparc-sun-sunos4.1.3) compiled by GNU
C version 2.95.2 19991024 (release).
In file included from arrays.H:8,
                 from byteimages.H:19,
                 from images.H:6,
                 from bytepyramid.H:25,
                 from pyramids.H:7,
                 from bytecpyramid.C:4:
int32array.H:115: warning: decimal integer constant is so large that it is
unsigned
In file included from images.H:8,
                 from bytepyramid.H:25,
                 from pyramids.H:7,
                 from bytecpyramid.C:4:
int32images.H:106: warning: decimal integer constant is so large that it is
unsigned
bytecpyramid.C: In method `class ByteCPyramid & ByteCPyramid::operator =(const
ByteCPyramid &)':
bytecpyramid.C:45: Internal compiler error.
bytecpyramid.C:45: Please submit a full bug report.
bytecpyramid.C:45: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport>
for instructions.

------------

bytecpyramid.ii.gz

gcc2_compiled.:
___gnu_compiled_cplusplus:
.text
	.align 4
	.global ___12ByteCPyramid
	.proc	0110
___12ByteCPyramid:
	!#PROLOGUE# 0
	!#PROLOGUE# 1
	mov	%o0, %g2
	retl
	st	%g0, [%g2]
	.align 8
LC0:
	.ascii "%s:%u: failed assertion `%s'\12\0"
	.align 8
LC1:
	.ascii "bytecpyramid.C\0"
	.align 8
LC2:
	.ascii "desired_depth > 0\0"
	.align 4
	.global ___12ByteCPyramidRC10ByteCImagei11PyramidTypeff
	.proc	0110
___12ByteCPyramidRC10ByteCImagei11PyramidTypeff:
	!#PROLOGUE# 0
	save	%sp, -104, %sp
	!#PROLOGUE# 1
	mov	%i2, %o2
	mov	%i1, %o1
	mov	%i3, %o3
	mov	%i4, %o4
	cmp	%o2, 0
	bg	L485
	mov	%i5, %o5
	sethi	%hi(LC0), %o0
	sethi	%hi(LC1), %o1
	sethi	%hi(LC2), %o3
	or	%o0, %lo(LC0), %o0
	or	%o1, %lo(LC1), %o1
	or	%o3, %lo(LC2), %o3
	call	___eprintf, 0
	mov	24, %o2
L485:
	st	%g0, [%i0]
	call	_initialize__12ByteCPyramidRC10ByteCImagei11PyramidTypeff, 0
	mov	%i0, %o0
	ret
	restore
	.align 8
LC3:
	.ascii "pyr.initialized()\0"
	.align 4
	.global ___12ByteCPyramidRC12ByteCPyramid
	.proc	0110
___12ByteCPyramidRC12ByteCPyramid:
	!#PROLOGUE# 0
	save	%sp, -272, %sp
	!#PROLOGUE# 1
	st	%i1, [%fp+72]
	call	___get_eh_context, 0
	st	%i0, [%fp+68]
	st	%o0, [%fp-148]
	add	%fp, -24, %o0
	st	%o0, [%fp-164]
	add	%fp, -8, %o1
	add	%fp, -48, %o0
	st	%o1, [%fp-172]
	st	%o0, [%fp-156]
	add	%fp, -32, %o2
	add	%fp, -56, %o1
	ld	[%fp+72], %o0
	st	%o2, [%fp-160]
	call	_initialized__C12ByteCPyramid, 0
	st	%o1, [%fp-152]
	cmp	%o0, 0
	bne	L489
	ld	[%fp+68], %o2
	sethi	%hi(LC0), %o0
	sethi	%hi(LC1), %o1
	sethi	%hi(LC3), %o3
	or	%o0, %lo(LC0), %o0
	or	%o1, %lo(LC1), %o1
	or	%o3, %lo(LC3), %o3
	call	___eprintf, 0
	mov	31, %o2
L489:
	ld	[%fp-148], %o1
	ld	[%o2], %o0
	add	%o1, 4, %o1
	cmp	%o0, 0
	be	L490
	st	%o1, [%fp-168]
	ld	[%o2+12], %o0
	cmp	%o0, 0
	be	L490
	mov	%o0, %o2
	ld	[%o2-8], %o1
	sll	%o1, 1, %o0
	add	%o0, %o1, %o0
	sll	%o0, 4, %o0
	add	%o2, %o0, %o0
	cmp	%o2, %o0
	be	L494
	st	%o0, [%fp-108]
L495:
	ld	[%fp-108], %o2
	mov	0, %o1
	add	%o2, -48, %o2
	st	%o2, [%fp-108]
	call	__$_10ByteCImage, 0
	mov	%o2, %o0
	ld	[%fp+68], %o1
	ld	[%o1+12], %o0
	ld	[%fp-108], %o1
	cmp	%o0, %o1
	bne	L495
	mov	%o0, %o2
L494:
	call	___builtin_vec_delete, 0
	add	%o2, -8, %o0
L490:
	ld	[%fp+72], %o2
	ld	[%o2+4], %o2
	sll	%o2, 1, %o0
	add	%o0, %o2, %o0
	sll	%o0, 4, %o0
	st	%o2, [%fp-116]
	call	___builtin_vec_new, 0
	or	%o0, 8, %o0
	st	%o0, [%fp-112]
	mov	1, %o0
	st	%o0, [%fp-120]
	ld	[%fp-148], %o1
	ld	[%o1+4], %o0
	sethi	%hi(L500), %o2
	st	%o0, [%fp-32]
	ld	[%fp-172], %o0
	or	%o2, %lo(L500), %o1
	ld	[%fp-164], %o2
	st	%g0, [%fp-28]
	st	%o0, [%fp-24]
	st	%o1, [%o2+4]
	b	L499
	st	%sp, [%o2+8]
L500:
	b	L539
	ld	[%fp-148], %o1
L499:
	ld	[%fp-112], %o0
	ld	[%fp-160], %o2
	add	%o0, 8, %o0
	ld	[%fp-168], %o1
	st	%o0, [%fp-124]
	st	%o0, [%fp-128]
	st	%o2, [%o1]
	ld	[%fp-116], %o1
	ld	[%fp-128], %o0
	st	%o1, [%o0-8]
	ld	[%fp-124], %o2
	add	%o1, -1, %o0
	st	%o2, [%fp-132]
	st	%o0, [%fp-136]
	ld	[%fp-148], %o1
	ld	[%o1+4], %o0
	sethi	%hi(L504), %o2
	st	%o0, [%fp-56]
	ld	[%fp-172], %o0
	or	%o2, %lo(L504), %o1
	ld	[%fp-156], %o2
	st	%g0, [%fp-52]
	st	%o0, [%fp-48]
	st	%o1, [%o2+4]
	b	L503
	st	%sp, [%o2+8]
L504:
	ld	[%fp-148], %o0
	add	%o0, 4, %o0
	b	L501
	st	%o0, [%fp-168]
L503:
	ld	[%fp-152], %o2
	ld	[%fp-168], %o1
	st	%o2, [%o1]
	ld	[%fp-136], %o0
	cmp	%o0, -1
	be	L540
	ld	[%fp-148], %o0
L509:
	call	___10ByteCImage, 0
	ld	[%fp-132], %o0
	ld	[%fp-136], %o1
	ld	[%fp-132], %o2
	add	%o1, -1, %o1
	add	%o2, 48, %o2
	st	%o1, [%fp-136]
	cmp	%o1, -1
	bne	L509
	st	%o2, [%fp-132]
	ld	[%fp-148], %o0
L540:
	ld	[%o0+4], %o1
	st	%g0, [%fp-120]
	ld	[%o1], %o0
	ld	[%fp-148], %o1
	st	%o0, [%o1+4]
	ld	[%fp-128], %o0
	ld	[%fp+68], %o2
	st	%o0, [%o2+12]
	ld	[%o1+4], %o0
	ld	[%fp-148], %o2
	ld	[%o0], %o1
	st	%o1, [%o2+4]
	st	%g0, [%fp-144]
	ld	[%fp+72], %o1
	ld	[%fp-120], %o2
	ld	[%o1+4], %o0
	cmp	%o2, %o0
	bge	L541
	ld	[%fp+68], %o1
	st	%g0, [%fp-176]
L521:
	ld	[%fp+68], %o0
	ld	[%fp-176], %o2
	ld	[%o0+12], %o1
	add	%o1, %o2, %o1
	ld	[%fp+72], %o0
	call	_getByteCImage__C12ByteCPyramidR10ByteCImagei, 0
	ld	[%fp-144], %o2
	ld	[%fp+72], %o1
	ld	[%fp-144], %o2
	ld	[%o1+4], %o0
	add	%o2, 1, %o2
	cmp	%o2, %o0
	ld	[%fp-176], %o0
	st	%o2, [%fp-144]
	add	%o0, 48, %o0
	bl	L521
	st	%o0, [%fp-176]
	ld	[%fp+68], %o1
L541:
	mov	1, %o0
	ld	[%fp+72], %o2
	st	%o0, [%o1]
	ld	[%o2+4], %o1
	ld	[%fp+68], %i0
	st	%o1, [%i0+4]
	ld	[%o2+16], %o0
	mov	%i0, %o1
	st	%o0, [%o1+16]
	ld	[%o2+8], %o1
	mov	%i0, %o2
	b	L535
	st	%o1, [%o2+8]
L501:
	ld	[%fp-148], %o1
	ld	[%o1+4], %o0
	ld	[%fp-172], %o2
	st	%o0, [%fp-80]
	sethi	%hi(L527), %o1
	st	%g0, [%fp-76]
	add	%fp, -72, %o0
	st	%o2, [%fp-72]
	or	%o1, %lo(L527), %o1
	st	%o1, [%o0+4]
	b	L526
	st	%sp, [%o0+8]
L527:
	b,a	L524
L526:
	ld	[%fp-168], %o1
	add	%fp, -80, %o0
	st	%o0, [%o1]
	ld	[%fp-124], %o2
	cmp	%o2, 0
	be	L511
	ld	[%fp-136], %o0
	ld	[%fp-116], %o2
	add	%o0, 1, %o1
	sub	%o2, %o1, %o1
	sll	%o1, 1, %o0
	add	%o0, %o1, %o0
	ld	[%fp-124], %o1
	sll	%o0, 4, %o0
	add	%o1, %o0, %o0
	cmp	%o1, %o0
	be	L511
	st	%o0, [%fp-140]
	ld	[%fp-140], %o2
L542:
	mov	0, %o1
	add	%o2, -48, %o2
	st	%o2, [%fp-140]
	call	__$_10ByteCImage, 0
	mov	%o2, %o0
	ld	[%fp-124], %o0
	ld	[%fp-140], %o1
	cmp	%o0, %o1
	bne	L542
	ld	[%fp-140], %o2
L511:
	ld	[%fp-148], %o2
	ld	[%o2+4], %o0
	ld	[%o0], %o1
	call	___sjthrow, 0
	st	%o1, [%o2+4]
L497:
	ld	[%fp-148], %o1
L539:
	ld	[%o1+4], %o0
	ld	[%fp-172], %o2
	st	%o0, [%fp-104]
	sethi	%hi(L531), %o1
	add	%fp, -96, %o0
	or	%o1, %lo(L531), %o1
	st	%g0, [%fp-100]
	st	%o2, [%fp-96]
	st	%o1, [%o0+4]
	st	%sp, [%o0+8]
	ld	[%fp-148], %o0
	b	L530
	add	%o0, 4, %o1
L531:
	b,a	L528
L530:
	add	%fp, -104, %o0
	st	%o0, [%o1]
	ld	[%fp-120], %o1
	cmp	%o1, 0
	be	L543
	ld	[%fp-148], %o2
	call	___builtin_vec_delete, 0
	ld	[%fp-112], %o0
	ld	[%fp-148], %o2
L543:
	ld	[%o2+4], %o0
	ld	[%o0], %o1
	call	___sjthrow, 0
	st	%o1, [%o2+4]
L524:
	call	___terminate, 0
	 nop
L528:
	call	___terminate, 0
	 nop
L535:
	ret
	restore

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]