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 middle-end/37535] gcc/libgcc2.c:404: internal compiler error: Floating point exception
Date: Tue, 16 Sep 2008 03:37:00 -0000	[thread overview]
Message-ID: <20080916033614.16297.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37535-276@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from danglin at gcc dot gnu dot org  2008-09-16 03:36 -------
>From the ira dump,

(insn 172 375 376 25 ../../gcc/gcc/ira-color.c:249 (set (reg:SI 25 %r25)
        (reg/v:SI 7 %r7 [orig:109 divisor ] [109])) 37 {*pa.md:2552} (nil))

(insn 376 172 519 25 ../../gcc/gcc/ira-color.c:247 (set (reg/v:SI 20 %r20
[orig:
112 cost ] [112])
        (if_then_else:SI (ne (reg/v:SI 10 %r10 [orig:124 decr_p+-3 ] [124])
                (const_int 0 [0x0]))
            (reg:SI 21 %r21 [240])
            (reg/v:SI 20 %r20 [orig:112 cost ] [112]))) 24 {*pa.md:1398} (nil))

(insn 519 376 520 25 ../../gcc/gcc/ira-color.c:249 (set (reg:SI 68 %fr22)
        (reg/v:SI 20 %r20 [orig:112 cost ] [112])) 37 {*pa.md:2552} (nil))

(insn 520 519 521 25 ../../gcc/gcc/ira-color.c:249 (set (reg:SI 1 %r1)
        (mem/s:SI (plus:SI (reg/v/f:SI 28 %r28 [orig:104 cp ] [104])
                (const_int 12 [0xc])) [3 <variable>.freq+0 S4 A32])) 37
{*pa.md:
2552} (nil))

(insn 521 520 169 25 ../../gcc/gcc/ira-color.c:249 (set (reg:SI 69 %fr22R)
        (reg:SI 1 %r1)) 37 {*pa.md:2552} (nil))

(insn 169 521 518 25 ../../gcc/gcc/ira-color.c:249 (set (reg:DI 68 %fr22)
        (mult:DI (zero_extend:DI (reg:SI 68 %fr22))
            (zero_extend:DI (reg:SI 69 %fr22R)))) 118 {umulsidi3} (nil))

(insn 518 169 171 25 ../../gcc/gcc/ira-color.c:249 (set (reg:DI 25 %r25 [171])
        (reg:DI 68 %fr22)) 73 {*pa.md:4461} (nil))

(insn 171 518 173 25 ../../gcc/gcc/ira-color.c:249 (set (reg:SI 26 %r26)
        (reg:SI 26 %r26 [orig:171+4 ] [171])) 37 {*pa.md:2552} (nil))

(insn 173 171 175 25 ../../gcc/gcc/ira-color.c:249 (parallel [
            (set (reg:SI 29 %r29)
                (div:SI (reg:SI 26 %r26)
                    (reg:SI 25 %r25)))
            (clobber (reg:SI 1 %r1 [173]))
            (clobber (reg:SI 28 %r28 [174]))
            (clobber (reg:SI 26 %r26))
            (clobber (reg:SI 25 %r25))
            (clobber (reg:SI 31 %r31))
        ]) 121 {*pa.md:5807} (expr_list:REG_EQUAL (div:SI (reg:SI 26 %r26)
            (reg/v:SI 7 %r7 [orig:109 divisor ] [109]))
        (nil)))

IRA makes a bad choice pseudo 171, clobbering the previous load of r25.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37535


  parent reply	other threads:[~2008-09-16  3:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-16  0:58 [Bug middle-end/37535] New: " danglin at gcc dot gnu dot org
2008-09-16  1:01 ` [Bug middle-end/37535] [4.4 Regression] " pinskia at gcc dot gnu dot org
2008-09-16  2:05 ` [Bug middle-end/37535] " danglin at gcc dot gnu dot org
2008-09-16  3:37 ` danglin at gcc dot gnu dot org [this message]
2008-09-16  3:42 ` dave at hiauly1 dot hia dot nrc dot ca
2008-09-16 13:04 ` [Bug middle-end/37535] [4.4 Regression] " rguenth at gcc dot gnu dot org
2008-09-16 16:48 ` vmakarov at redhat dot com
2008-09-17  1:11 ` vmakarov at redhat dot com
2008-09-18 12:04 ` krebbel at gcc dot gnu dot org
2008-09-19 23:26 ` vmakarov at gcc dot gnu dot org
2008-09-20 17:06 ` dave at hiauly1 dot hia dot nrc dot ca
2008-09-20 18:45 ` hjl dot tools at gmail dot com
2008-09-21 20:01 ` hjl at gcc dot gnu dot org
2008-09-22 22:47 ` hjl at gcc dot gnu dot org
2008-09-26  0:46 ` vmakarov at gcc dot gnu dot org
2008-09-30  0:39 ` hjl at gcc dot gnu dot org
2008-10-06 15:37 ` vmakarov at gcc dot gnu dot org
2008-10-11 15:12 ` danglin at gcc dot gnu dot org
2008-10-14 22:27 ` hjl at gcc dot gnu dot org
2008-10-16  0:54 ` vmakarov 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=20080916033614.16297.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).