* src/mcs51/ralloc.c (serialRegAssign): fixed bug 1189609
authormaartenbrock <maartenbrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 25 Apr 2005 19:02:56 +0000 (19:02 +0000)
committermaartenbrock <maartenbrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 25 Apr 2005 19:02:56 +0000 (19:02 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3741 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/mcs51/ralloc.c

index 3f245c3b9be65d3e46989b3ef26a089feb95eea1..86e94a24c0731db32dc6fa62ee22d590d6dce06d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-25 Maarten Brock <sourceforge.brock AT dse.nl>
+
+       * src/mcs51/ralloc.c (serialRegAssign): fixed bug 1189609
+
 2005-04-14 Borut Razem <borut.razem AT siol.net>
 
        * fixed bug 1045046 - SIGSEGV with really simple code?:
index 7d065b27cb177ba2267f12c28b7ea8c557fec161..96a431ce920e3719844ae553bc0bd1bae91a8e4a 100644 (file)
@@ -1340,6 +1340,7 @@ serialRegAssign (eBBlock ** ebbs, int count)
                        this was spilt then break */
                     if (!sym->regs[j])
                       {
+                        int i;
                         for (i=0; i < sym->nRegs ; i++ )
                           sym->regs[i] = NULL;
                         break;