Commit 825bd5f8e5dfe4f521e1dcbce91e7d37b263d65d
1 parent
bc0b1dc1
temporary gcc 3.3 fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@562 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
5 additions
and
1 deletions
target-i386/op.c
... | ... | @@ -19,8 +19,12 @@ |
19 | 19 | */ |
20 | 20 | |
21 | 21 | /* XXX: must use this define because the soft mmu macros have huge |
22 | - register constraints so they cannot be used in any C code */ | |
22 | + register constraints so they cannot be used in any C code. gcc 3.3 | |
23 | + does not seem to be able to handle some constraints in rol | |
24 | + operations, so we disable it. */ | |
25 | +#if !(__GNUC__ == 3 && __GNUC_MINOR__ == 3) | |
23 | 26 | #define ASM_SOFTMMU |
27 | +#endif | |
24 | 28 | #include "exec.h" |
25 | 29 | |
26 | 30 | /* n must be a constant to be efficient */ | ... | ... |