]
authorvrokas <vrokas@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 6 Mar 2004 12:39:10 +0000 (12:39 +0000)
committervrokas <vrokas@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 6 Mar 2004 12:39:10 +0000 (12:39 +0000)
* src/pic16/ralloc.c (pic16_genPackRegisters): reverted to old
version of pic16_genPackRegisters which does not check if ic is a
CAST operator,
* src/pic16/gen.c (ifxForOp): disabled new and untested code in
function cause string1.c regression test fails

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3251 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/pic16/gen.c
src/pic16/ralloc.c

index d467f9349afa561a6148ddbda87c5776bba8fd17..9ff314dec0414ec33a5b1166ae8727f1e0c86279 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-03-06 Vangelis Rokas <vrokas AT otenet.gr>
+
+       * src/pic16/ralloc.c (pic16_genPackRegisters): reverted to old
+       version of pic16_genPackRegisters which does not check if ic is a
+       CAST operator,
+       * src/pic16/gen.c (ifxForOp): disabled new and untested code in
+       function cause string1.c regression test fails
+
 2004-03-06 Bernhard Held <bernhard AT bernhardheld.de>
 
        * sim/ucsim/configure.in,
index f21ff67c9e7b3ac15ff69aaf805efa3ac41feb02..0919aa3c2819545bf4ddd46458aa08989e27b6a5 100644 (file)
@@ -5892,6 +5892,7 @@ static iCode *ifxForOp ( operand *op, iCode *ic )
     }
 
 
+#if 0
     /* the code below is completely untested
      * it just allows ulong2fs.c compile -- VR */
         
@@ -5919,7 +5920,7 @@ static iCode *ifxForOp ( operand *op, iCode *ic )
                                        __FILE__, __FUNCTION__, __LINE__);
 
 //  return ic->next->next;             /* this just might work */ /* FIXME FIXME */
-
+#endif
     return NULL;
 }
 /*-----------------------------------------------------------------*/
index e8ff7b6a6fc93dc2c4127db74d06dbcd939f99e1..6b8550fb0ab33bcea76866dbeb9a7ebb9413c409 100644 (file)
@@ -3692,8 +3692,8 @@ pic16_packRegisters (eBBlock * ebp)
 //             debugLog("%d\n", __LINE__);
        /* find assignment of the form TrueSym := iTempNN:1 */
        /* see BUGLOG0001 for workaround with the CAST - VR */
-       if ( (ic->op == '=' || ic->op == CAST) && !POINTER_SET (ic) ) // patch 11
-//     if ( (ic->op == '=') && !POINTER_SET (ic) ) // patch 11
+//     if ( (ic->op == '=' || ic->op == CAST) && !POINTER_SET (ic) ) // patch 11
+       if ( (ic->op == '=') && !POINTER_SET (ic) ) // patch 11
          change += packRegsForAssign (ic, ebp);
        /* debug stuff */
        if (ic->op == '=')