sim/ppc: fix aliasing bugs

Andreas Schwab schwab@linux-m68k.org
Sun Feb 14 10:01:00 GMT 2010


Accidentally left out an assignment.

Andreas.

2010-02-14  Andreas Schwab  <schwab@linux-m68k.org>

	* ppc-instructions: Fix missing assignment in last change.

Index: ppc-instructions
===================================================================
RCS file: /cvs/src/src/sim/ppc/ppc-instructions,v
retrieving revision 1.12
diff -u -a -p -r1.12 ppc-instructions
--- ppc-instructions	5 Feb 2010 15:47:02 -0000	1.12
+++ ppc-instructions	14 Feb 2010 09:56:11 -0000
@@ -4168,6 +4168,7 @@ void::function::invalid_zero_divide_oper
 	                                0, /*instruction_is_convert_to_64bit*/
 	                                0, /*instruction_is_convert_to_32bit*/
 	                                0); /*single-precision*/
+	  product = tmp.d;
 	}
 	else {
 	  /*HACK!*/

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gdb-patches mailing list