Author: sje
Date: 2011-03-01 13:04:24 -0500 (Tue, 01 Mar 2011)
New Revision: 3500

Modified:
   trunk/osprey/wgen/wgen_expr.cxx
Log:
Fix bug 497 by removing code that causes a bad conversion from a 64 bit
unsigned int to a 32 bit signed int.  Not sure what bug 14430 was.

Approved by: Sun Chan


Modified: trunk/osprey/wgen/wgen_expr.cxx
===================================================================
--- trunk/osprey/wgen/wgen_expr.cxx     2011-03-01 11:16:59 UTC (rev 3499)
+++ trunk/osprey/wgen/wgen_expr.cxx     2011-03-01 18:04:24 UTC (rev 3500)
@@ -6878,13 +6878,6 @@
                wn = WN_Cvt(MTYPE_I4, mtyp, wn0);
              else wn = WN_Cvt(WN_rtype(wn0), mtyp, wn0);
            }
-#if !defined(TARG_SL)
-           // bug 14430: Generate a CVT with the same signedness.
-           else if (MTYPE_signed(WN_rtype(wn0)) != MTYPE_signed(mtyp) &&
-                    MTYPE_bit_size(WN_rtype(wn0)) > MTYPE_bit_size(mtyp)) {
-             wn = WN_Cvt(Mtype_TransferSign(mtyp, WN_rtype(wn0)), mtyp, wn0);
-           }
-#endif
            else
 #endif
            wn = WN_Cvt(WN_rtype(wn0), mtyp, wn0);


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to