Author: laijx
Date: 2011-03-07 07:11:28 -0500 (Mon, 07 Mar 2011)
New Revision: 3509

Modified:
   trunk/osprey/be/opt/opt_revise_ssa.cxx
Log:
Fixed bug #740.
The Aux_id of original cr should be added to _symbols_to_revise.
Otherwise, the version of the symbol will not be updated correctly.

CT by Fred.


Modified: trunk/osprey/be/opt/opt_revise_ssa.cxx
===================================================================
--- trunk/osprey/be/opt/opt_revise_ssa.cxx      2011-03-07 09:02:58 UTC (rev 
3508)
+++ trunk/osprey/be/opt/opt_revise_ssa.cxx      2011-03-07 12:11:28 UTC (rev 
3509)
@@ -280,6 +280,7 @@
     else if (cr->Dtyp() != MTYPE_M && MTYPE_byte_size(cr->Dsctyp()) < 4 &&
             (idx = _opt_stab->Part_of_reg_size_symbol(cr->Aux_id())) != 0) {
       cr->Set_promote_to_reg_size(); // flag this cr for processing in step 2
+      _symbols_to_revise->Union1D(cr->Aux_id());
       _symbols_to_revise->Union1D(idx);
       cr->Set_scalar_aux_id(idx);
       _has_bitfield = TRUE;


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to