Cosmetics -- prints ruonly flag in printOperand
[fw/sdcc] / src / SDCCicode.c
index 4ca47ca57af6f6391f62d1fba6361d8204476f04..db9a777ff62bdc9213e3dc82d62a1281452cafd7 100644 (file)
@@ -222,12 +222,13 @@ printOperand (operand * op, FILE * file)
     case SYMBOL:
 #define REGA 1
 #ifdef REGA
-      fprintf (file, "%s [k%d lr%d:%d so:%d]{ ia%d re%d rm%d nos%d}",          /*{ar%d rm%d ru%d p%d a%d u%d i%d au%d k%d ks%d}"  , */
+      fprintf (file, "%s [k%d lr%d:%d so:%d]{ ia%d re%d rm%d nos%d ru%d}",             /*{ar%d rm%d ru%d p%d a%d u%d i%d au%d k%d ks%d}"  , */
               (OP_SYMBOL (op)->rname[0] ? OP_SYMBOL (op)->rname : OP_SYMBOL (op)->name),
               op->key,
               OP_LIVEFROM (op), OP_LIVETO (op),
               OP_SYMBOL (op)->stack,
-              op->isaddr, OP_SYMBOL (op)->isreqv, OP_SYMBOL (op)->remat,OP_SYMBOL(op)->noSpilLoc
+              op->isaddr, OP_SYMBOL (op)->isreqv, OP_SYMBOL (op)->remat,OP_SYMBOL(op)->noSpilLoc,
+              OP_SYMBOL(op)->ruonly
        );
       {
        fprintf (file, "{");
@@ -2292,7 +2293,8 @@ geniCodeBitwise (operand * left, operand * right,
   iCode *ic;
 
   // bitwise operations must be done unsigned
-  SPEC_USIGN(resType)=1;
+  // WHY ? causes very bad things to happen with CSE
+  //  SPEC_USIGN(resType)=1;
 
   left = geniCodeCast (resType, left, TRUE);
   right = geniCodeCast (resType, right, TRUE);