public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "nathan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/99248] [modules] ICE expected binding_vector, have overload in lookup_elaborated_type_1, at cp/name-lookup.c:8013
Date: Thu, 11 Mar 2021 19:52:21 +0000	[thread overview]
Message-ID: <bug-99248-4-GBJthknTpu@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-99248-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99248

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-03-11

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
thanks, that saved some time.
// pr99248.h
class locale
{
  template<typename _Cache>
  friend struct __use_cache;
};
// pr99248.a.H
#include "pr99248.h"
// pr99248_b.H
#include "pr99248.h"
import "pr99248_a.H";

template<typename _Facet>
struct __use_cache;

zathras:52>./cc1plus -quiet -fmodule-header pr99248_a.H && ./cc1plus -quiet
-fmodule-header pr99248_b.H
pr99248_b.H:7:8: internal compiler error: tree check: expected binding_vector,
have overload in lookup_elaborated_type_1, at cp/name-lookup.c:7943
    7 | struct __use_cache;
      |        ^~~~~~~~~~~
0x1acec3b tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../../src/gcc/tree.c:9816
0xad785c tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../../src/gcc/tree.h:3353
0xd1f7d3 lookup_elaborated_type_1
        ../../../src/gcc/cp/name-lookup.c:7943

  parent reply	other threads:[~2021-03-11 19:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-24  8:51 [Bug c++/99248] New: internal compiler error: tree check: " alexander.lelyakin at googlemail dot com
2021-02-28 21:00 ` [Bug c++/99248] [modules] ICE " alexander.lelyakin at googlemail dot com
2021-03-11  8:12 ` alexander.lelyakin at googlemail dot com
2021-03-11 19:52 ` nathan at gcc dot gnu.org [this message]
2021-03-11 21:13 ` cvs-commit at gcc dot gnu.org
2021-03-11 21:13 ` nathan at gcc dot gnu.org

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=bug-99248-4-GBJthknTpu@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).