Author: cotto
Date: Thu Dec 11 16:08:25 2008
New Revision: 33817

Modified:
   trunk/compilers/imcc/symreg.c

Log:
[imcc] IMCC_subst_constants uses r[2], so make sure r has enough elements (CID 
#173)


Modified: trunk/compilers/imcc/symreg.c
==============================================================================
--- trunk/compilers/imcc/symreg.c       (original)
+++ trunk/compilers/imcc/symreg.c       Thu Dec 11 16:08:25 2008
@@ -611,7 +611,7 @@
         ARGMOD(SymReg *rhs))
 {
     /* XXX This always returns NULL.  Probably shouldn't return anything then. 
*/
-    SymReg *r[2];
+    SymReg *r[3];
     char   *name;
     int     len;
 

Reply via email to