1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

MDEV-135: work-around a GCC bug seen on Debian 5 "lenny" 64-bit.

This commit is contained in:
unknown
2012-02-06 13:30:39 +01:00
parent 7232151193
commit 9f9ecc0626
3 changed files with 6 additions and 2 deletions

View File

@@ -2293,7 +2293,11 @@ static int do_div_mod(const decimal_t *from1, const decimal_t *from2,
DBUG_ASSERT(buf0 < to->buf + to->len);
*buf0=(dec1)guess;
}
#ifdef WORKAROUND_GCC_4_3_2_BUG
dcarry= *(volatile dec1 *)start1;
#else
dcarry= *start1;
#endif
start1++;
}
if (mod)