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

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

From:
cotto
Date:
December 11, 2008 16:13
Subject:
[svn:parrot] r33818 - trunk/compilers/imcc
Message ID:
20081212001345.67821CB9AF@x12.develooper.com
Author: cotto
Date: Thu Dec 11 16:13:44 2008
New Revision: 33818

Modified:
   trunk/compilers/imcc/pcc.c

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


Modified: trunk/compilers/imcc/pcc.c
==============================================================================
--- trunk/compilers/imcc/pcc.c	(original)
+++ trunk/compilers/imcc/pcc.c	Thu Dec 11 16:13:44 2008
@@ -469,7 +469,7 @@
     move_info_t      *info    = (move_info_t *)vinfo;
     SymReg           *src     = NULL;
     SymReg           *dest    = NULL;
-    SymReg           *regs[2];
+    SymReg           *regs[3];
 
     if (d == 255) {
         int t;



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