public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/20493] New: [4.0 Regression] Bootstrap failure
Date: Wed, 16 Mar 2005 05:47:00 -0000	[thread overview]
Message-ID: <20050316054704.20493.danglin@gcc.gnu.org> (raw)

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


             reply	other threads:[~2005-03-16  5:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16  5:47 danglin at gcc dot gnu dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050316054704.20493.danglin@gcc.gnu.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).