Author: laijx Date: 2011-02-10 21:51:11 -0500 (Thu, 10 Feb 2011) New Revision: 3473
Modified: trunk/osprey/be/opt/opt_cfg_trans.cxx Log: Fix bug 618 and 701. Resetting the IF_INFO in MainOPT CFG transformation since the info are not updated during the transformation and not used in MainOPT emitter. CR by Mei Ye. Modified: trunk/osprey/be/opt/opt_cfg_trans.cxx =================================================================== --- trunk/osprey/be/opt/opt_cfg_trans.cxx 2011-02-04 19:02:19 UTC (rev 3472) +++ trunk/osprey/be/opt/opt_cfg_trans.cxx 2011-02-11 02:51:11 UTC (rev 3473) @@ -682,6 +682,8 @@ // the following test is to screen out COMPGOTO and XGOTO, ... if ((branch_sr->Op() == OPC_TRUEBR || branch_sr->Op() == OPC_FALSEBR)) { + if (bb->Kind() == BB_LOGIF && bb->Ifinfo() != NULL) + bb->Set_ifinfo(NULL); if (branch_sr->Label_number() != goto_bb->Labnam()) { branch_sr->Set_st(NULL); branch_sr->Set_label_number(goto_bb->Labnam()); ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel