fixed bug #503216
[fw/sdcc] / src / avr / gen.c
index 638182ab0d4e9eeb6c279864df83d729d03b8777..c44c40a2595956aaee67b6f25a854976b6ffe2e6 100644 (file)
@@ -290,6 +290,7 @@ hasInc (operand *op, iCode *ic)
        int isize ;
   
        if (IS_BITVAR(retype)||!IS_PTR(type)) return NULL;
+       if (IS_AGGREGATE(type->next)) return NULL;
        isize = getSize(type->next);
        while (lic) {
                /* if operand of the form op = op + <sizeof *op> */