Author: shihui
Date: 2011-05-13 11:33:16 -0400 (Fri, 13 May 2011)
New Revision: 3597

Modified:
   trunk/osprey/be/com/wn_mp.cxx
Log:
r3595 check in wrong code.

The original meaning is mark don't copy alias tag map in parent pu maptab.
the actual code is mark copy the alias tag map in parallel pu's maptab.
correct this code.


Modified: trunk/osprey/be/com/wn_mp.cxx
===================================================================
--- trunk/osprey/be/com/wn_mp.cxx       2011-05-12 04:37:44 UTC (rev 3596)
+++ trunk/osprey/be/com/wn_mp.cxx       2011-05-13 15:33:16 UTC (rev 3597)
@@ -2766,7 +2766,9 @@
     // Current_Map_Tab is update to PU_Info_maptab(parallel_pu) in 
PU_Info_maptab
     Is_True(PU_Info_maptab(parallel_pu) == Current_Map_Tab,
         ("parallel_pu's PU's maptab isn't parallel_pu\n"));
-    WN_MAP_Set_dont_copy(aa->aliasTagMap(), FALSE);
+    Current_Map_Tab = pmaptab;
+    WN_MAP_Set_dont_copy(aa->aliasTagMap(), TRUE);
+    Current_Map_Tab = PU_Info_maptab(parallel_pu);
   }
 
     // use hack to save csymtab using parallel_pu, so we can restore it


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to