Author: yug Date: 2011-12-05 04:40:57 -0500 (Mon, 05 Dec 2011) New Revision: 3844
Modified: trunk/osprey/wgen/wgen_expr.cxx Log: fix bug911. Add safe guard for wgen CVTL optimisation. Code Review: Sun Chan. Modified: trunk/osprey/wgen/wgen_expr.cxx =================================================================== --- trunk/osprey/wgen/wgen_expr.cxx 2011-12-03 10:46:51 UTC (rev 3843) +++ trunk/osprey/wgen/wgen_expr.cxx 2011-12-05 09:40:57 UTC (rev 3844) @@ -9969,6 +9969,8 @@ // such that I4I1LDID will be sign extended and // U4U2 will be zero extended if (MTYPE_is_integral(rtype) && MTYPE_is_integral(desc) && + // bug911 open64.net. Add Safe guard for CVTL. + (desc != MTYPE_BS) && MTYPE_byte_size( rtype ) > MTYPE_byte_size( desc )) { wn = WN_CreateCvtl(OPR_CVTL, Widen_Mtype(desc), MTYPE_V, MTYPE_size_min(desc), wn); ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel