diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/real.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6063549..c0248c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,11 @@ 2014-12-01 David Malcolm <dmalcolm@redhat.com> PR jit/63854 + * real.c (real_from_string): Add missing mpfr_clear. + +2014-12-01 David Malcolm <dmalcolm@redhat.com> + + PR jit/63854 * tree-ssa-math-opts.c (execute_cse_sincos_1): Fix a missing release of stmts by converting it to an auto_vec. @@ -2067,6 +2067,7 @@ real_from_string (REAL_VALUE_TYPE *r, const char *str) gcc_assert (r->cl = rvc_normal); /* Set a sticky bit if mpfr_strtofr was inexact. */ r->sig[0] |= inexact; + mpfr_clear (m); } } |