Commit 94ba1bd5 by Georg-Johann Lay Committed by Georg-Johann Lay

re PR target/65196 (avr_adjust_insn_length uses recog_memoized on invalid insn)

	PR target/65196
	* config/avr/avr.c (avr_adjust_insn_length): Call recog_memoized
	only with NONDEBUG_INSN_P.

From-SVN: r220964
parent 10fbfd1b
2015-02-25 Georg-Johann Lay <avr@gjlay.de>
PR target/65196
* config/avr/avr.c (avr_adjust_insn_length): Call recog_memoized
only with NONDEBUG_INSN_P.
2015-02-25 Georg-Johann Lay <avr@gjlay.de>
Use variadic macros with avr-log.c.
* config/avr/avr-protos.h (avr_vdump): New prototype.
......
......@@ -8610,7 +8610,8 @@ avr_adjust_insn_length (rtx_insn *insn, int len)
It is easier to state this in an insn attribute "adjust_len" than
to clutter up code here... */
if (JUMP_TABLE_DATA_P (insn) || recog_memoized (insn) == -1)
if (!NONDEBUG_INSN_P (insn)
|| -1 == recog_memoized (insn))
{
return len;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment