develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r33817 - trunk/compilers/imcc

From:
cotto
Date:
December 11, 2008 16:08
Subject:
[svn:parrot] r33817 - trunk/compilers/imcc
Message ID:
20081212000825.B8DCCCB9AF@x12.develooper.com
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;
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About