]> granicus.if.org Git - php/commitdiff
Fix bug #53632 with x87 fpu
authorScott MacVicar <scottmac@php.net>
Tue, 4 Jan 2011 22:36:23 +0000 (22:36 +0000)
committerScott MacVicar <scottmac@php.net>
Tue, 4 Jan 2011 22:36:23 +0000 (22:36 +0000)
Zend/zend_strtod.c

index bac3e2466e6213df3c11be5de23ed827d27ad8e5..a6184ebf51b2241db8c54f50eccf86fa1c5bf546 100644 (file)
@@ -2035,7 +2035,7 @@ ZEND_API double zend_strtod (CONST char *s00, CONST char **se)
        int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, dsign,
                e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign;
        CONST char *s, *s0, *s1;
-       double aadj, aadj1, adj;
+       volatile double aadj, aadj1, adj;
        volatile _double rv, rv0;
        Long L;
        ULong y, z;