public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/20493] New: [4.0 Regression] Bootstrap failure
@ 2005-03-16  5:47 danglin at gcc dot gnu dot org
  2005-03-16  6:26 ` [Bug middle-end/20493] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-03-16  5:47 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-03-19 17:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16  5:47 [Bug bootstrap/20493] New: [4.0 Regression] Bootstrap failure danglin at gcc dot gnu dot org
2005-03-16  6:26 ` [Bug middle-end/20493] " pinskia at gcc dot gnu dot org
2005-03-16  6:42 ` pinskia at gcc dot gnu dot org
2005-03-16  6:43 ` pinskia at gcc dot gnu dot org
2005-03-16 14:38 ` dave at hiauly1 dot hia dot nrc dot ca
2005-03-16 14:43 ` dave at hiauly1 dot hia dot nrc dot ca
2005-03-17  3:13 ` danglin at gcc dot gnu dot org
2005-03-17  5:02 ` [Bug middle-end/20493] [4.0/4.1 Regression] Bootstrap failure because of aliased symbols pinskia at gcc dot gnu dot org
2005-03-17  5:08 ` roger at eyesopen dot com
2005-03-18  2:33 ` dave at hiauly1 dot hia dot nrc dot ca
2005-03-18  3:26 ` dave at hiauly1 dot hia dot nrc dot ca
2005-03-19 16:46 ` cvs-commit at gcc dot gnu dot org
2005-03-19 17:30 ` cvs-commit at gcc dot gnu dot org
2005-03-19 17:38 ` danglin at gcc dot gnu dot org
2005-03-19 17:52 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).