summaryrefslogtreecommitdiff
path: root/insert-dbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'insert-dbl.c')
-rw-r--r--insert-dbl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/insert-dbl.c b/insert-dbl.c
index 3511f95fa..2fd689502 100644
--- a/insert-dbl.c
+++ b/insert-dbl.c
@@ -41,6 +41,10 @@ __gmp_scale2 (d, exp)
{
#if _GMP_IEEE_FLOATS
{
+#if defined (__alpha) && __GNUC__ == 2 && __GNUC_MINOR__ == 8
+ /* Work around alpha-specific bug in GCC 2.8.x. */
+ volatile
+#endif
union ieee_double_extract x;
x.d = d;
exp += x.s.exp;