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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user