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 target/45063] [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c
Date: Wed, 28 Jul 2010 15:01:00 -0000 [thread overview]
Message-ID: <20100728150056.11934.qmail@sourceware.org> (raw)
In-Reply-To: <bug-45063-276@http.gcc.gnu.org/bugzilla/>
------- Comment #5 from danglin at gcc dot gnu dot org 2010-07-28 15:00 -------
(In reply to comment #4)
> While the ICE nominally results from a hash lookup failure, replacing
> libiberty.a with the stage1 version makes no difference. Thus, it
> doesn't appear that the problem is with the hash code.
This is wrong. Hash related failure is different bug. The backtrace
for this ICE is:
Program received signal SIGSEGV, Segmentation fault.
commutative_operand_precedence (op=0x0) at ../../gcc/gcc/rtlanal.c:2914
2914 enum rtx_code code = GET_CODE (op);
(gdb) bt
#0 commutative_operand_precedence (op=0x0) at ../../gcc/gcc/rtlanal.c:2914
#1 0x003b135c in swap_commutative_operands_p (x=<value optimized out>, y=0x0)
at ../../gcc/gcc/rtlanal.c:2980
#2 0x003ee244 in simplify_const_relational_operation (code=NE, mode=SImode,
op0=0x400122b8, op1=0x0) at ../../gcc/gcc/simplify-rtx.c:4256
#3 0x003e4ee0 in simplify_relational_operation (code=NE, mode=SImode,
cmp_mode=SImode, op0=0x400122b8, op1=0x0)
at ../../gcc/gcc/simplify-rtx.c:3904
#4 0x003e565c in simplify_gen_relational (code=NE, mode=VOIDmode,
cmp_mode=<value optimized out>, op0=0x400122b8, op1=0x0)
at ../../gcc/gcc/simplify-rtx.c:346
#5 0x00317ec4 in iv_number_of_iterations (loop=0x7, desc=0x9b62d8)
at ../../gcc/gcc/loop-iv.c:2609
#6 check_simple_exit (loop=0x7, desc=0x9b62d8) at ../../gcc/gcc/loop-iv.c:2847
#7 find_simple_exit (loop=0x7, desc=0x9b62d8) at ../../gcc/gcc/loop-iv.c:2872
(gdb) p/x $pc
$2 = 0x3b11d8
(gdb) disass 0x3b11c8,0x3b11e8
Dump of assembler code from 0x3b11c8 to 0x3b11e8:
0x003b11c8 <regno_use_in+276>: ldo -4(r7),r7
0x003b11cc <regno_use_in+280>: b,l 0x3b10f8 <regno_use_in+68>,r0
0x003b11d0 <regno_use_in+284>: ldi 0,ret0
0x003b11d4 <commutative_operand_precedence+0>: stw rp,-14(sp)
=> 0x003b11d8 <commutative_operand_precedence+4>: ldh 0(r26),r19
0x003b11dc <commutative_operand_precedence+8>: ldo 40(sp),sp
0x003b11e0 <commutative_operand_precedence+12>: ldi 1e,r20
0x003b11e4 <commutative_operand_precedence+16>: cmpb,<>
r20,r19,0x3b11f8 <commutative_operand_precedence+36>
End of assembler dump.
(gdb) p/x $r26
$3 = 0x0
ICE also seen on hppa2.0w-hp-hpux11.11.
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernds at gcc dot gnu dot
| |org
GCC build triplet|hppa-unknown-linux-gnu |hppa*-*-* (32-bit)
GCC host triplet|hppa-unknown-linux-gnu |hppa*-*-* (32-bit)
GCC target triplet|hppa-unknown-linux-gnu |hppa*-*-* (32-bit)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45063
next prev parent reply other threads:[~2010-07-28 15:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-24 21:38 [Bug target/45063] New: " danglin at gcc dot gnu dot org
2010-07-24 21:43 ` [Bug target/45063] [4.6 Regression] " rguenth at gcc dot gnu dot org
2010-07-24 21:53 ` dave at hiauly1 dot hia dot nrc dot ca
2010-07-27 23:20 ` danglin at gcc dot gnu dot org
2010-07-28 15:01 ` danglin at gcc dot gnu dot org [this message]
2010-07-28 15:16 ` danglin at gcc dot gnu dot org
2010-07-28 15:34 ` danglin at gcc dot gnu dot org
2010-07-28 15:46 ` bernds at gcc dot gnu dot org
2010-07-28 19:19 ` dave at hiauly1 dot hia dot nrc dot ca
2010-07-28 20:21 ` danglin at gcc dot gnu dot org
2010-07-28 22:14 ` bernds at gcc dot gnu dot org
2010-07-29 13:50 ` bernds at gcc dot gnu dot org
2010-07-30 18:34 ` sje at cup dot hp dot com
2010-07-30 19:20 ` dave at hiauly1 dot hia dot nrc dot ca
2010-08-02 20:18 ` bernds at gcc dot gnu dot org
2010-08-07 20:26 ` danglin 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=20100728150056.11934.qmail@sourceware.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).