Author: meiye Date: 2011-03-01 16:47:53 -0500 (Tue, 01 Mar 2011) New Revision: 3501
Modified: trunk/osprey/be/lno/cond.cxx Log: Fix for #734, stop parent tree walking at FUNC_ENTRY node to avoid incorrect trigger of debug assert. CR: Michael Lai. Modified: trunk/osprey/be/lno/cond.cxx =================================================================== --- trunk/osprey/be/lno/cond.cxx 2011-03-01 18:04:24 UTC (rev 3500) +++ trunk/osprey/be/lno/cond.cxx 2011-03-01 21:47:53 UTC (rev 3501) @@ -173,7 +173,9 @@ #ifdef Is_True_On if (TY_kind(ST_type(WN_st(wn))) == KIND_SCALAR) { WN *tmp = wn; - while (tmp && WN_opcode(tmp) != OPC_IO) tmp = LWN_Get_Parent(tmp); + while (tmp && (WN_opcode(tmp)!= OPC_IO) && (WN_opcode(tmp) != OPC_FUNC_ENTRY)) + tmp = LWN_Get_Parent(tmp); + Is_True(tmp, ("Missing defs for %s (wn=%ld=0x%lx)", SYMBOL(wn).Name(), wn, wn)); } ------------------------------------------------------------------------------ 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