This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/20493] New: [4.0 Regression] Bootstrap failure
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2005 05:47:09 -0000
- Subject: [Bug bootstrap/20493] New: [4.0 Regression] Bootstrap failure
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
stage1/xgcc -Bstage1/ -B/home/dave/opt/gnu/gcc/gcc-4.1.0/hppa-linux/bin/ -c -g
-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototype
s -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -
fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc/gcc -I.
./../gcc/gcc/build -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
\
-o build/errors.o ../../gcc/gcc/errors.c
stage1/xgcc -Bstage1/ -B/home/dave/opt/gnu/gcc/gcc-4.1.0/hppa-linux/bin/ -g -O
2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -
pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno
-common -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genmodes \
build/genmodes.o build/errors.o ../build-hppa-linux/libiberty/libiberty.a
build/genmodes -h > tmp-modes.h
make[2]: *** [s-modes] Error 139
(gdb) r -h > tmp-modes.h
Starting program: /home/dave/gnu/gcc-4.0/objdir/gcc/build/genmodes -h > tmp-
modes.h
Program received signal SIGSEGV, Segmentation fault.
0x00013c68 in __canonicalize_funcptr_for_compare (fptr=@0xffffffff: 0)
at fptr.c:61
61 {
(gdb) disass __canonicalize_funcptr_for_compare
Dump of assembler code for function __canonicalize_funcptr_for_compare:
0x00013c64 <__canonicalize_funcptr_for_compare+0>: stw rp,-14(,sp)
0x00013c68 <__canonicalize_funcptr_for_compare+4>: stw,ma r6,80(,sp)
0x00013c6c <__canonicalize_funcptr_for_compare+8>: ldi 0,r6
0x00013c70 <__canonicalize_funcptr_for_compare+12>: stw r5,-7c(,sp)
0x00013c74 <__canonicalize_funcptr_for_compare+16>: stw r4,-78(,sp)
0x00013c78 <__canonicalize_funcptr_for_compare+20>: copy r19,r4
0x00013c7c <__canonicalize_funcptr_for_compare+24>: stw r3,-74(,sp)
0x00013c80 <__canonicalize_funcptr_for_compare+28>: copy r26,r3
0x00013c84 <__canonicalize_funcptr_for_compare+32>: b,l 0x13c64 <
__canonicalize_funcptr_for_compare>,rp
0x00013c88 <__canonicalize_funcptr_for_compare+36>: stw r19,-20(,sp)
0x00013c8c <__canonicalize_funcptr_for_compare+40>: copy r4,r19
0x00013c90 <__canonicalize_funcptr_for_compare+44>: copy ret0,r5
0x00013c94 <__canonicalize_funcptr_for_compare+48>: b,l 0x13c64 <
__canonicalize_funcptr_for_compare>,rp
0x00013c98 <__canonicalize_funcptr_for_compare+52>: ldi -1,r26
The function is miscompiled completely. It calls itself recursively
until stack allocation fails.
--
Summary: [4.0 Regression] Bootstrap failure
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: hppa-unknown-linux-gnu
GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20493