Author: yiran Date: 2011-01-13 02:26:14 -0500 (Thu, 13 Jan 2011) New Revision: 3458
Modified: trunk/osprey/be/opt/opt_lmv_helper.cxx Log: Fix for bug 711. In case the "expression" is const, it is virtually different from "this_vr.high". Modified: trunk/osprey/be/opt/opt_lmv_helper.cxx =================================================================== --- trunk/osprey/be/opt/opt_lmv_helper.cxx 2011-01-12 07:51:45 UTC (rev 3457) +++ trunk/osprey/be/opt/opt_lmv_helper.cxx 2011-01-13 07:26:14 UTC (rev 3458) @@ -500,7 +500,8 @@ 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