Author: laijx
Date: 2011-01-13 08:24:13 -0500 (Thu, 13 Jan 2011)
New Revision: 3460

Modified:
   trunk/osprey/be/opt/opt_alias_class.cxx
Log:
Enable WN_Parm_Dereference in opt_alias_class to fix an assertion in
opt_alias_analysis about the alias class id mismatch.


Modified: trunk/osprey/be/opt/opt_alias_class.cxx
===================================================================
--- trunk/osprey/be/opt/opt_alias_class.cxx     2011-01-13 13:18:26 UTC (rev 
3459)
+++ trunk/osprey/be/opt/opt_alias_class.cxx     2011-01-13 13:24:13 UTC (rev 
3460)
@@ -1117,9 +1117,7 @@
   // PARM, since we want our return value to describe all the
   // information available to the callee.
   else if (OPCODE_is_load(opc) ||
-#if defined (TARG_SL)
           (opr == OPR_PARM && WN_Parm_Dereference(expr)) ||
-#endif
           Is_fortran_reference_parm(expr)) {
     FmtAssert(OPERATOR_is_scalar_iload (opr) ||
              opr == OPR_MLOAD ||
@@ -2182,9 +2180,7 @@
   }
   else if (OPCODE_is_load(opc) ||
           OPCODE_is_store(opc) ||
-#if defined (TARG_SL)
           (opr==OPR_PARM && WN_Parm_Dereference(wn)) ||
-#endif
           Is_fortran_reference_parm(wn) ||
           ((opr == OPR_LDA || opr == OPR_LDMA) &&
            Is_LDA_of_variable(wn))) {


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to