Bug in new genrecog?

Mark Mitchell mark@codesourcery.com
Wed Oct 6 11:54:00 GMT 1999


>>>>> "Richard" == Richard Henderson <rth@twiddle.net> writes:

    Richard> The insns involved are the ones mentioned by the abort.
    Richard> Given that they're for MIPS16, I'd suggest just comment
    Richard> them both out in your local tree.

I did that.  Then, I got:

  ../../gcc/frame.c:730: Unrecognizable insn:
  (jump_insn 737 735 738 (parallel[ 
	      (set (pc)
		  (plus:SI (reg:SI 248)
		      (label_ref:SI 738)))
	      (use (label_ref:SI 738))
	  ] ) -1 (insn_list 735 (nil))
      (expr_list:REG_DEAD (reg:SI 248)
	  (nil)))
  ../../gcc/frame.c:730: Internal compiler error in `extract_insn', at recog.c:2026

That looks like it wanted to match:

(define_expand "tablejump_internal3"
  [(parallel [(set (pc)
		   (plus:SI (match_operand:SI 0 "register_operand" "d")
			    (label_ref:SI (match_operand:SI 1 "" ""))))
	      (use (label_ref:SI (match_dup 1)))])]
  ""
  "")

What am I missing?

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-bugs mailing list