public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: Eric Botcazou <ebotcazou@adacore.com>
Cc: Richard Biener <richard.guenther@gmail.com>,
	gcc-patches List <gcc-patches@gcc.gnu.org>
Subject: Re: [C++] Fix PR bootstrap/81926
Date: Sat, 09 Sep 2017 08:30:00 -0000	[thread overview]
Message-ID: <CADzB+2=GBK-QMeb6QC_6jERp6mNYYkiNwGLy6OKm9RmJi0hNGg@mail.gmail.com> (raw)
In-Reply-To: <1514184.0xIGq3mKY2@polaris>

On Mon, Sep 4, 2017 at 10:08 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> A solution would be to put them into a global GCed pointer-map or vector,
>> freeing that at free-lang-data time.
>
> Here's a version that implements a bona-fide type->offset_type map.
>
>         PR bootstrap/81926
>         * cp-objcp-common.c (struct offset_type_hasher): New class.
>         (offset_type_hash): New variable.
>         (cp_get_debug_type): Associate the OFFSET_TYPEs with the types.

This looks good.  But let's call it debug_type_hash instead.  OK with
that change.

Jason

  reply	other threads:[~2017-09-09  8:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-02 11:01 Eric Botcazou
2017-09-02 14:33 ` Richard Biener
2017-09-03  8:05   ` Eric Botcazou
2017-09-03  8:43     ` Richard Biener
2017-09-03 14:16       ` Eric Botcazou
2017-09-04  9:08         ` Richard Biener
2017-09-04  8:08   ` Eric Botcazou
2017-09-09  8:30     ` Jason Merrill [this message]
2017-09-22 20:20       ` Eric Botcazou

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='CADzB+2=GBK-QMeb6QC_6jERp6mNYYkiNwGLy6OKm9RmJi0hNGg@mail.gmail.com' \
    --to=jason@redhat.com \
    --cc=ebotcazou@adacore.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=richard.guenther@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).