Author: yug
Date: 2011-12-26 03:44:54 -0500 (Mon, 26 Dec 2011)
New Revision: 3856

Modified:
   trunk/osprey/be/opt/opt_bb.cxx
Log:
fix for bug897. 

Avoid extra make non_live for deleted stmts in Remove_stmtrep 
which cause the auto generated program DCE segment fault.

Code Review: Lai Jian-Xin.


Modified: trunk/osprey/be/opt/opt_bb.cxx
===================================================================
--- trunk/osprey/be/opt/opt_bb.cxx      2011-12-19 03:01:36 UTC (rev 3855)
+++ trunk/osprey/be/opt/opt_bb.cxx      2011-12-26 08:44:54 UTC (rev 3856)
@@ -733,7 +733,6 @@
   }
 
   _stmtlist.Remove(stmt);
-  stmt->Reset_live_stmt();  // WHIRL SSA: mark stmt dead
 }
 
 void


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to