* src/z80/ralloc.c (joinPushes): Fixed bug #828742
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 23 Oct 2003 14:22:50 +0000 (14:22 +0000)
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 23 Oct 2003 14:22:50 +0000 (14:22 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2959 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/z80/ralloc.c

index 268ea088192af95cffd0824e0d60244499d2f161..b2ea2977480b37baf88bb30d56f46abef5f6ead3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-23 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/z80/ralloc.c (joinPushes): Fixed bug #828742
+
 2003-10-23 Erik Petrich <epetrich@ivorytower.norman.ok.us>
 
        * src/SDCCmain.c,
index 8becb698dd8cf7044e39df9538a7343c9a17f1f9..99513386c72a385818b9e7f2d4629024056b985a 100644 (file)
@@ -2967,6 +2967,7 @@ joinPushes (iCode *lic)
       sprintf (buffer, "%uu", ((first << 8) | (second & 0xFF)) & 0xFFFFU);
       val = constVal (buffer);
       SPEC_NOUN (val->type) = V_INT;
+      IC_LEFT (ic) = operandFromOperand (IC_LEFT (ic));
       IC_LEFT (ic)->operand.valOperand = val;
       
       /* Now remove the second one from the list. */