Author: dgilmore
Date: 2011-04-01 22:05:03 -0400 (Fri, 01 Apr 2011)
New Revision: 3533

Modified:
   trunk/osprey/be/opt/opt_proactive.cxx
Log:
Fix to bug 757 (debug build compiler assertion in
Proactive Loop Transformation phase).

Approved by Sun.


Modified: trunk/osprey/be/opt/opt_proactive.cxx
===================================================================
--- trunk/osprey/be/opt/opt_proactive.cxx       2011-04-01 17:41:21 UTC (rev 
3532)
+++ trunk/osprey/be/opt/opt_proactive.cxx       2011-04-02 02:05:03 UTC (rev 
3533)
@@ -7479,6 +7479,11 @@
 {
   OPERATOR opr = WN_operator(wn);
 
+  // WN_aux(wn) may not be set correctly in the memory references
+  // in the expression trees for IO statements, so we should avoid
+  // traversing these statements.
+  if (opr == OPR_IO)
+    return FALSE;
   if (OPERATOR_is_load(opr) || OPERATOR_is_store(opr)) {
     if (OPERATOR_is_scalar_store(opr)) 
       return FALSE;


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to