# HG changeset patch # User gpoirier # Date 1119191710 0 # Node ID a418d6768d18855c863af60f6a677bebd8204d4d # Parent f2e5268acebb3f80f45d6439f0c644d59ed11966 10l. Previous GCC4 commit broke compilation with gcc-3.4 and maybe others ia-32 tested with gcc-2.95, 3.3, 3.4, 4.0 on ia-32 and 3.4, 4.0, 3.3 on amd64 diff -r f2e5268acebb -r a418d6768d18 postproc/swscale_template.c --- a/postproc/swscale_template.c Sun Jun 19 13:50:50 2005 +0000 +++ b/postproc/swscale_template.c Sun Jun 19 14:35:10 2005 +0000 @@ -2547,7 +2547,7 @@ "cmp %2, %%"REG_a" \n\t" " jb 1b \n\t" - :: "m" (src1), "m" (dst), "p" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask), + :: "m" (src1), "m" (dst), "mp" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask), "r" (src2) : "%"REG_a, "%"REG_b, "%ecx", "%"REG_D, "%esi" );