diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2002-09-16 17:24:41 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2002-09-16 17:24:41 +0000 |
commit | 7c3414b6fe1a2263ff120fcf521b7fe982968f71 (patch) | |
tree | 3cef3af200df3b411b871dd8365e557cd377f5ec /gcc | |
parent | 245ff137371bf12598b8c9932140052851b359d7 (diff) | |
download | gcc-7c3414b6fe1a2263ff120fcf521b7fe982968f71.zip gcc-7c3414b6fe1a2263ff120fcf521b7fe982968f71.tar.gz gcc-7c3414b6fe1a2263ff120fcf521b7fe982968f71.tar.bz2 |
* m68hc11.md (addhi_sp): Fix uninitialized variable bug.
From-SVN: r57202
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/config/m68hc11/m68hc11.md | 2 |
2 files changed, 3 insertions, 1 deletions
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 <ghazi@caip.rutgers.edu> + * 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); |