summaryrefslogtreecommitdiff
path: root/extract-dbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'extract-dbl.c')
-rw-r--r--extract-dbl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/extract-dbl.c b/extract-dbl.c
index ebd477344..0699a7fa4 100644
--- a/extract-dbl.c
+++ b/extract-dbl.c
@@ -65,6 +65,10 @@ __gmp_extract_double (rp, d)
#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;