From: Richard Biener <richard.guenther@gmail.com>
To: Joseph Myers <joseph@codesourcery.com>
Cc: Martin Sebor <msebor@gmail.com>,
Gcc Patch List <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] free MPFR caches in gimple-ssa-sprintf.c (PR 79699)
Date: Thu, 02 Mar 2017 08:08:00 -0000 [thread overview]
Message-ID: <CAFiYyc0CeP8wrqf0TJ00MYK6EtKdBKdBiBUA1bSKyy_yiJMkNw@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1703020100030.27707@digraph.polyomino.org.uk>
On Thu, Mar 2, 2017 at 2:01 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Wed, 1 Mar 2017, Martin Sebor wrote:
>
>> Joseph, since you commented on the bug, do you have a suggestion
>> for a different site for it or a guard? The only other call to
>> the function is in the Fortran FE and it's neither guarded nor
>> does it appear to ever be called.
>
> I don't think a guard is needed. Arguably it should be called from an
> atexit handler, but since we don't have such a handler calling it from the
> relevant pass seems reasonable (and I'm not sure what the right way to
> handle such freeing of memory in the JIT context is).
IMHO we should call it from gcc::~context
Richard.
> --
> Joseph S. Myers
> joseph@codesourcery.com
next prev parent reply other threads:[~2017-03-02 8:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-01 23:32 Martin Sebor
2017-03-02 1:01 ` Joseph Myers
2017-03-02 8:08 ` Richard Biener [this message]
2017-03-02 21:34 ` Martin Sebor
2017-03-02 21:40 ` Andrew Pinski
2017-03-02 21:56 ` Martin Sebor
2017-03-03 11:02 ` Richard Biener
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFiYyc0CeP8wrqf0TJ00MYK6EtKdBKdBiBUA1bSKyy_yiJMkNw@mail.gmail.com \
--to=richard.guenther@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=joseph@codesourcery.com \
--cc=msebor@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).