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;