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

--- Comment #5 from DJ Delorie <dj at redhat dot com> 2011-01-18 01:46:00 UTC 
---
Created attachment 23014
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23014
alternate patch

Alternate patch.  The v850.md patch tests frame_related, which is set for REGS
only to indicate that the value is a pointer, which "fixed" this bug only by
coincidence.  I think what's happening is that the v850 backend is generating a
BB that starts with a label, so fixup_sched_groups uses
prev_nonnote_nondebug_insn() and finds the label.  However, the functions it
calls expects only an INSN.  This patch adds a check for an INSN, to avoid
adding deps on labels.

Reply via email to