Author: laijx
Date: 2011-03-16 22:05:34 -0400 (Wed, 16 Mar 2011)
New Revision: 3520
Modified:
trunk/osprey/wgen/wgen_expr.cxx
Log:
Fix the assertion about invalid operator I2I2ILOAD found in #695.
Code reviewed by Fred and approved by Suneel.
Modified: trunk/osprey/wgen/wgen_expr.cxx
===================================================================
--- trunk/osprey/wgen/wgen_expr.cxx 2011-03-15 22:44:18 UTC (rev 3519)
+++ trunk/osprey/wgen/wgen_expr.cxx 2011-03-17 02:05:34 UTC (rev 3520)
@@ -9538,6 +9538,8 @@
case IRETURN_M8I1: ret_mtype = MTYPE_M8I1; break;
case IRETURN_M8I2: ret_mtype = MTYPE_M8I2; break;
case IRETURN_M8I4: ret_mtype = MTYPE_M8I4; break;
+ case IRETURN_I1:
+ case IRETURN_I2: ret_mtype = MTYPE_I4; break; // promote to I4
default: ;
}
#endif
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Open64-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open64-devel