Commit 883899ee by Stephane Carrez Committed by Stephane Carrez

re PR bootstrap/13990 (build fails because of wrong use of gen_rtx_NE)

	PR bootstrap/13990
	* config/m68hc11/m68hc11.md ("doloop_end"): Pass dummy arguments to
	gen_rtx_NE.

From-SVN: r77459
parent f6e215cc
2004-02-07 Stephane Carrez <stcarrez@nerim.fr>
PR bootstrap/13990
* config/m68hc11/m68hc11.md ("doloop_end"): Pass dummy arguments to
gen_rtx_NE.
2004-02-07 Josef Zlomek <zlomekj@suse.cz> 2004-02-07 Josef Zlomek <zlomekj@suse.cz>
* var-tracking.c (vt_add_function_parameters): Surround checkings by * var-tracking.c (vt_add_function_parameters): Surround checkings by
......
...@@ -5977,17 +5977,24 @@ ...@@ -5977,17 +5977,24 @@
{ {
FAIL; FAIL;
} }
/* Note that for xxx_dbcc_dec_yy the gen_rtx_NE is only used to pass
the operator and its operands are not relevant. */
if (GET_MODE (operands[0]) == HImode) if (GET_MODE (operands[0]) == HImode)
{ {
emit_jump_insn (gen_m68hc12_dbcc_dec_hi (operands[0], emit_jump_insn (gen_m68hc12_dbcc_dec_hi (operands[0],
gen_rtx_NE (HImode), gen_rtx_NE (HImode,
operands[0],
const1_rtx),
operands[4])); operands[4]));
DONE; DONE;
} }
if (GET_MODE (operands[0]) == QImode) if (GET_MODE (operands[0]) == QImode)
{ {
emit_jump_insn (gen_m68hc12_dbcc_dec_qi (operands[0], emit_jump_insn (gen_m68hc12_dbcc_dec_qi (operands[0],
gen_rtx_NE (QImode), gen_rtx_NE (QImode,
operands[0],
const1_rtx),
operands[4])); operands[4]));
DONE; DONE;
} }
......
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