r463 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jan 5 19:04:05 EST 2006


Author: tma
Date: 2006-01-05 19:04:05 -0500 (Thu, 05 Jan 2006)
New Revision: 463

Modified:
   trunk/code/qcommon/vm_x86.c
Log:
* Fix to the gcc4/-O0 x86 JIT compiler bug


Modified: trunk/code/qcommon/vm_x86.c
===================================================================
--- trunk/code/qcommon/vm_x86.c	2006-01-05 22:53:55 UTC (rev 462)
+++ trunk/code/qcommon/vm_x86.c	2006-01-06 00:04:05 UTC (rev 463)
@@ -229,7 +229,7 @@
 		"doret:						\n\t" \
 		"	ret					\n\t" \
 		: "=rm" (callSyscallNum), "=rm" (callProgramStack), "=rm" (callOpStack) \
-		: "rm" (instructionPointers) \
+		: "m" (instructionPointers) \
 		: "ax", "di", "si", "cx" \
 	);
 }




More information about the quake3-commits mailing list