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
This commit is contained in:
Stephane Carrez 2004-02-07 17:45:11 +01:00 committed by Stephane Carrez
parent f6e215ccb7
commit 883899eef1
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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>
* var-tracking.c (vt_add_function_parameters): Surround checkings by

View File

@ -5977,17 +5977,24 @@
{
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)
{
emit_jump_insn (gen_m68hc12_dbcc_dec_hi (operands[0],
gen_rtx_NE (HImode),
gen_rtx_NE (HImode,
operands[0],
const1_rtx),
operands[4]));
DONE;
}
if (GET_MODE (operands[0]) == QImode)
{
emit_jump_insn (gen_m68hc12_dbcc_dec_qi (operands[0],
gen_rtx_NE (QImode),
gen_rtx_NE (QImode,
operands[0],
const1_rtx),
operands[4]));
DONE;
}