catch DECLARATOR / SPECIFIER abuse
[fw/sdcc] / src / mcs51 / ralloc.c
index 82bda5a5b75caf5a612284d1810d6b90b7058622..8ecb55b395dfe6ac39580dbaa781a79f84650fd4 100644 (file)
@@ -2503,6 +2503,7 @@ packForPush (iCode * ic, eBBlock ** ebpp, int blockno)
        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));