Author: dgilmore
Date: 2012-08-20 15:59:10 -0400 (Mon, 20 Aug 2012)
New Revision: 4012

Modified:
   trunk/osprey/be/cg/x8664/ebo_special.cxx
Log:
Fixed bug in expand_strcmp_bb() exposed by 64-bit build of compiler.

CR: Jian-Xin Lai


Modified: trunk/osprey/be/cg/x8664/ebo_special.cxx
===================================================================
--- trunk/osprey/be/cg/x8664/ebo_special.cxx    2012-08-20 19:50:25 UTC (rev 
4011)
+++ trunk/osprey/be/cg/x8664/ebo_special.cxx    2012-08-20 19:59:10 UTC (rev 
4012)
@@ -11940,7 +11940,7 @@
 
   set_result = Mk_OP(TOP_sbb32, result, result, result);
   BB_Append_Op(diff_bb, set_result);
-  set_result = Mk_OP(TOP_or32, result, Gen_Literal_TN(1, 8));
+  set_result = Mk_OP(TOP_ori32, result, result, Gen_Literal_TN(1, 8));
   BB_Append_Op(diff_bb, set_result);
   ld_byte1 = Mk_OP(TOP_ld32,arg1,stack_arg1/*arg1*/,Gen_Literal_TN(0, 4));
   ld_byte2 = Mk_OP(TOP_ld32,arg2,stack_arg2/*arg1*/,Gen_Literal_TN(4, 8));


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to