* device/include/pic16/string.h: modified prototype for memccpy()
[fw/sdcc] / src / pic16 / ralloc.c
index bfeeac608e7f3381765908abf2b47a3b9dfe31c4..58cc571a10d15dc2a8b3a131effe82ae664509d5 100644 (file)
@@ -4255,6 +4255,9 @@ pic16_assignRegisters (eBBlock ** ebbs, int count)
      registers & the type of registers required for each */
   regTypeNum ();
 
+  /* start counting function temporary registers from zero */
+  dynrIdx = 0;
+
   /* and serially allocate registers */
   serialRegAssign (ebbs, count);