public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "law at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/46878] V850 ICE in in maybe_add_or_update_dep_1, at sched-deps.c:854
Date: Tue, 18 Jan 2011 13:50:00 -0000	[thread overview]
Message-ID: <bug-46878-4-ak657CCNYz@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-46878-4@http.gcc.gnu.org/bugzilla/>

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #6 from Jeffrey A. Law <law at redhat dot com> 2011-01-18 13:43:10 UTC ---
Why is the comparison marked with SCHED_GROUP_P?  I think that's your
underlying problem as SCHED_GROUP_P indicates the current insn must be
scheduled with the previous insn.  But there is no previous insn in the block.

(gdb) p debug_bb_n (4)
;; basic block 4, loop depth 0, count 0
;; prev block 3, next block 5
;; pred:       2 [50.0%] 
;; succ:       7 [78.4%]  5 [21.6%]  (fallthru)
;; bb 4 artificial_defs: { }
;; bb 4 artificial_uses: { u17(3){ }u18(29){ }u19(34){ }u20(35){ }}
;; lr  in       3 [sp] 29 [r29] 34 [.fp] 35 [.ap] 43 47 48
;; lr  use      3 [sp] 29 [r29] 34 [.fp] 35 [.ap] 43 47
;; lr  def      42 44
;; live  in       3 [sp] 29 [r29] 34 [.fp] 35 [.ap] 43 47 48
;; live  gen      42 44
;; live  kill    

(code_label 20 62 21 4 2 "" [1 uses])
(note 21 20 22 4 [bb 4] NOTE_INSN_BASIC_BLOCK)
(note 22 21 23 4 NOTE_INSN_DELETED)
(insn/s 23 22 60 4 (set (reg/v:SI 44 [ c ])
        (ne:SI (cc0)
            (const_int 0 [0]))) j.c:10 40 {*setcc}
     (nil))
(note 60 23 59 4 NOTE_INSN_DELETED)
(insn 59 60 30 4 (set (reg/v/f:SI 42 [ tmpp ])
        (if_then_else:SI (ne (reg:SI 43 [ D.1959 ])
                (const_int 1 [0x1]))
            (reg/v/f:SI 47 [ op ])
            (const_int 0 [0]))) j.c:15 46 {*movsicc_normal}
     (expr_list:REG_DEAD (reg/v/f:SI 47 [ op ])
        (expr_list:REG_DEAD (reg:SI 43 [ D.1959 ])
            (nil))))
(insn 30 59 31 4 (set (cc0)
        (compare (reg/v/f:SI 42 [ tmpp ])
            (const_int 0 [0]))) j.c:16 16 {cmpsi_insn}
     (expr_list:REG_DEAD (reg/v/f:SI 42 [ tmpp ])
        (nil)))
(jump_insn 31 30 32 4 (set (pc)
        (if_then_else (ne (cc0)
                (const_int 0 [0]))
            (label_ref:SI 50)
            (pc))) j.c:16 53 {*branch_normal}
     (expr_list:REG_BR_PROB (const_int 7837 [0x1e9d])
        (nil))
 -> 50)
;; lr  out      3 [sp] 29 [r29] 34 [.fp] 35 [.ap] 44 48
;; live  out      3 [sp] 29 [r29] 34 [.fp] 35 [.ap] 44 48



Note the /s on insn 23.  That's SCHED_GROUP_P.


  parent reply	other threads:[~2011-01-18 13:43 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-10  0:48 [Bug target/46878] New: " monaka@monami-software.com
2010-12-10  0:53 ` [Bug target/46878] " monaka@monami-software.com
2010-12-10  1:47 ` monaka@monami-software.com
2010-12-10  2:36 ` monaka@monami-software.com
2010-12-10 15:02 ` monaka@monami-software.com
2011-01-18  8:15 ` dj at redhat dot com
2011-01-18 13:50 ` law at redhat dot com [this message]
2011-01-18 13:56 ` law at redhat dot com
2011-01-21 22:39 ` dj at redhat dot com
2011-01-21 22:41 ` dj at redhat dot com
2011-01-22  0:43 ` law at redhat dot com
2011-01-22  0:50 ` law at redhat dot com
2011-01-22  1:11 ` dj at redhat dot com
2011-01-22  2:49 ` dj at redhat dot com
2011-01-22  3:46 ` law at redhat dot com
2011-01-22  3:57 ` law at redhat dot com
2011-01-22  9:40 ` law at redhat dot com
2011-01-26  0:09 ` dj at redhat dot com
2011-01-26 14:15 ` law at redhat dot com
2011-01-26 14:20 ` law at redhat dot com
2011-01-26 14:20 ` law at redhat dot com
2011-01-26 14:26 ` [Bug rtl-optimization/46878] " law at redhat dot com
2011-01-26 15:05 ` [Bug rtl-optimization/46878] [4.6 regression] " mikpe at it dot uu.se
2011-01-26 16:43 ` law at redhat dot com
2011-01-26 22:39 ` dj at gcc dot gnu.org
2011-01-27  1:25 ` dj at redhat dot com
2011-02-02 18:12 ` dnovillo at gcc dot gnu.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=bug-46878-4-ak657CCNYz@http.gcc.gnu.org/bugzilla/ \
    --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).