sym_link *rtype, *retype;
sym_link *optype = operandType (op);
+ // if this is an array then array access
+ if (IS_ARRAY (optype)) {
+ // don't worry, this will be optimized out later
+ return geniCodeArray (op, operandFromLit (0), lvl);
+ }
+
+ // just in case someone screws up
+ wassert (IS_PTR (optype));
+
/* if this is a pointer then generate the rvalue */
if (IS_PTR (optype))
{