catch DECLARATOR / SPECIFIER abuse
[fw/sdcc] / src / ds390 / ralloc.c
index c323459a5fcb5cdaba82667ef941cf15bb1b9368..d6206f52eeeaede71afeefb64af3a989047399a6 100644 (file)
@@ -2628,6 +2628,7 @@ packForPush (iCode * ic, eBBlock * ebp)
          if (bitVectBitValue(dbv,lic->key)) return ;
   }
   /* make sure they have the same type */
+  if (IS_SPEC(operandType(IC_LEFT(ic))))
   {
     sym_link *itype=operandType(IC_LEFT(ic));
     sym_link *ditype=operandType(IC_RIGHT(dic));