Commit 33b625ed by David Malcolm Committed by David Malcolm

PR jit/63854: Fix leak in real.c for i386:init_ext_80387_constants

gcc/ChangeLog:
	PR jit/63854
	* real.c (real_from_string): Add missing mpfr_clear.

From-SVN: r218233
parent e90c82d3
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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment