I have tested a compiler with the code in question removed.  Using the
testsuites I have available here at HP I have not found any regressions
due to removing the code.  So I would like to propose this patch as the
fix for bug 497.  Can a gatekeeper approve it?

Steve Ellcey
s...@cup.hp.com



$ svn diff osprey/wgen/wgen_expr.cxx
Index: osprey/wgen/wgen_expr.cxx
===================================================================
--- osprey/wgen/wgen_expr.cxx   (revision 3490)
+++ osprey/wgen/wgen_expr.cxx   (working copy)
@@ -6884,13 +6884,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