------- Comment #9 from eweddington at cso dot atmel dot com  2007-05-04 16:06 
-------
>From Bjoern Haase:

Hi all,

I think that we could resolve this ICE by adding an unnamed pattern like

(define_insn "*strangeMovhi"
  [(set (mem:HI (plus:HI (reg:HI 28)
                         (const_int 1)))
        (match_operand:HI 0 "general_operand" "r"))]
  ""
  "st %A0,y+1 \n\t st %B0,y+2"
  [(set_attr "length" "2")])


to the machine description "avr.md" . That might cure the symptoms and does not
resolve the underlying problem with reload, but this might be a fix for the
immediate issue.

Note that above remark is untested pseudo-code.

Yours,

Bjoern.

P.S.: Eric, you might add this remark to the bugzilla entry.


-- 


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

Reply via email to