Author: minz Date: 2011-04-07 13:28:58 -0400 (Thu, 07 Apr 2011) New Revision: 3538
Modified: trunk/osprey/be/opt/opt_ssa.cxx Log: Bug Fix: bug761 Fixing a problem in Resurrect_chi - it uses chi's result (du) to set_opnd, which causes the non-zero version use before def (assertion in verifying live range). The fix is to use chi->Opnd()'s zero_version_cr to set_opnd. Code Review: Sun Chan Modified: trunk/osprey/be/opt/opt_ssa.cxx =================================================================== --- trunk/osprey/be/opt/opt_ssa.cxx 2011-04-06 06:03:01 UTC (rev 3537) +++ trunk/osprey/be/opt/opt_ssa.cxx 2011-04-07 17:28:58 UTC (rev 3538) @@ -1,3 +1,6 @@ +/* + * Copyright (C) 2011, Hewlett-Packard Development Company, L.P. All Rights Reserved. + */ //-*-c++-*- /* @@ -1612,7 +1615,7 @@ chi->Set_dse_dead(FALSE); if (sr->Op() == OPC_OPT_CHI) - chi->Set_OPND( Get_zero_version_CR(chi->Aux_id(), _opt_stab, du)); + chi->Set_OPND( Get_zero_version_CR(chi->Aux_id(), _opt_stab, chi->Opnd())); else { chi->Set_OPND(Revive_phi_chi_opnd(chi->Opnd())); chi->OPND()->Set_flag(CF_DONT_PROP); ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel