]> git.pld-linux.org Git - packages/ocaml.git/blob - ocaml-gcc-pr21291-workaround.patch
- rel 4; builds with tk8.5 and gcc4
[packages/ocaml.git] / ocaml-gcc-pr21291-workaround.patch
1 --- ocaml-3.08.3/otherlibs/num/bng_ia32.c.orig  2005-04-30 11:42:30.000000000 +0200
2 +++ ocaml-3.08.3/otherlibs/num/bng_ia32.c       2005-04-30 11:44:16.000000000 +0200
3 @@ -121,8 +121,8 @@
4          "leal 4(%1), %1 \n\t"
5          "decl %2 \n\t"
6          "jnz 1b"
7 -        : "+&r" (a), "+&r" (b), "+&rm" (blen), "+&r" (out)
8 -        : "rm" (d)
9 +        : "+r" (a), "+r" (b), "+m" (blen), "+r" (out)
10 +        : "m" (d)
11          : "eax", "edx");
12    }
13    if (alen == 0) return out;
14 @@ -164,8 +164,8 @@
15          "leal 4(%1), %1 \n\t"
16          "decl %2 \n\t"
17          "jnz 1b"
18 -        : "+&r" (a), "+&r" (b), "+&rm" (blen), "+&rm" (out), "=&r" (tmp)
19 -        : "rm" (d)
20 +        : "+r" (a), "+r" (b), "+m" (blen), "+m" (out), "=&r" (tmp)
21 +        : "m" (d)
22          : "eax", "edx");
23    }
24    if (alen == 0) return out;
This page took 0.027971 seconds and 3 git commands to generate.