Hi,

Could a gatekeeper please review this patch?

The issue is that when r->high is a const, the call to method cr() would
trigger an assertion.
As the fix, for such case, it is different from this_vr->High.

Best Regards,
yiran

Index: osprey/be/opt/opt_lmv_helper.cxx
===================================================================
--- osprey/be/opt/opt_lmv_helper.cxx    (revision 3457)
+++ osprey/be/opt/opt_lmv_helper.cxx    (working copy)
@@ -500,7 +500,7 @@
         else {
           if (!this_vr.High_is_cr())
             break;
-          if (this_vr.High_cr() != r->high.cr())
+          if (r->high.Is_const() || this_vr.High_cr() != r->high.cr())
             break;

           INT const_val = this_expr->Const_part();
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to