From 7c3414b6fe1a2263ff120fcf521b7fe982968f71 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Mon, 16 Sep 2002 17:24:41 +0000 Subject: [PATCH] * m68hc11.md (addhi_sp): Fix uninitialized variable bug. From-SVN: r57202 --- gcc/ChangeLog | 2 ++ gcc/config/m68hc11/m68hc11.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2235b8d..f9a1caa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2002-09-16 Kaveh R. Ghazi + * m68hc11.md (addhi_sp): Fix uninitialized variable bug. + * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h instead of the *-protos.h file directly. * t-c4x, t-i370, t-v850: Depend on $(TM_P_H). diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md index f625c9e..a71e4f3 100644 --- a/gcc/config/m68hc11/m68hc11.md +++ b/gcc/config/m68hc11/m68hc11.md @@ -2258,7 +2258,7 @@ Register X/Y is lost, this is specified by the (clobber) statement. */ output_asm_insn (\"ts%3\", operands); if (GET_CODE (operands[2]) == CONST_INT - && ((val = INTVAL (operands[2]) >= 0 && val < 0x100)) + && ((val = INTVAL (operands[2])) >= 0 && val < 0x100) && dead_register_here (insn, gen_rtx (REG, HImode, HARD_D_REGNUM))) { output_asm_insn (\"ldab\\t%2\", operands); -- 2.7.4