aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-06 00:04:05 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-06 00:04:05 +0000
commit4b00232c7b9c20dbfb4df44ae309363fa4d0c411 (patch)
tree20bbb7a2b4d7f0d4b50bc5fa839c9e29af2386c7
parentfb9169868064f344817b0731d42b65e3f0144de1 (diff)
downloadioquake3-aero-4b00232c7b9c20dbfb4df44ae309363fa4d0c411.tar.gz
ioquake3-aero-4b00232c7b9c20dbfb4df44ae309363fa4d0c411.zip
* Fix to the gcc4/-O0 x86 JIT compiler bug
git-svn-id: svn://svn.icculus.org/quake3/trunk@463 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/qcommon/vm_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/vm_x86.c b/code/qcommon/vm_x86.c
index 38593c6..15e9918 100644
--- a/code/qcommon/vm_x86.c
+++ b/code/qcommon/vm_x86.c
@@ -229,7 +229,7 @@ void AsmCall( void ) {
"doret: \n\t" \
" ret \n\t" \
: "=rm" (callSyscallNum), "=rm" (callProgramStack), "=rm" (callOpStack) \
- : "rm" (instructionPointers) \
+ : "m" (instructionPointers) \
: "ax", "di", "si", "cx" \
);
}