* src/hc08/gen.c (genFunction): fixed bug #1112752
[fw/sdcc] / src / hc08 / gen.c
index b101c25bf2a74debdb10ef0480aa9618c1c2b0e9..9dd5226107aea13ca76bdc9360139a2f07ffec8c 100644 (file)
@@ -2881,7 +2881,7 @@ genFunction (iCode * ic)
   sym_link *ftype;
   iCode *ric = (ic->next && ic->next->op == RECEIVE) ? ic->next : NULL;
   int stackAdjust = sym->stack;
-  int accIsFree = sym->recvSize != 0;
+  int accIsFree = sym->recvSize == 0;
 
   _G.nRegsSaved = 0;
   _G.stackPushes = 0;