OSDN Git Service

* m68hc11.md (addhi_sp): Fix uninitialized variable bug.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Sep 2002 17:24:41 +0000 (17:24 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Sep 2002 17:24:41 +0000 (17:24 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57202 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/m68hc11/m68hc11.md

index 2235b8d..f9a1caa 100644 (file)
@@ -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).
index f625c9e..a71e4f3 100644 (file)
      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);