From 883899eef1b7e2a8ed46ef954569459809c8a60f Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 7 Feb 2004 17:45:11 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/m68hc11/m68hc11.md | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 51b1b7894ec5..20b7ff2a2f7e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-02-07 Stephane Carrez + + PR bootstrap/13990 + * config/m68hc11/m68hc11.md ("doloop_end"): Pass dummy arguments to + gen_rtx_NE. + 2004-02-07 Josef Zlomek * var-tracking.c (vt_add_function_parameters): Surround checkings by diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md index 1d82f592783c..deea2318fa0c 100644 --- a/gcc/config/m68hc11/m68hc11.md +++ b/gcc/config/m68hc11/m68hc11.md @@ -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; } -- 2.47.2