public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency
Date: Mon, 22 Feb 2021 14:52:26 +0000	[thread overview]
Message-ID: <bug-99153-4-KAJyupgsCK@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-99153-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathan Sidwell <nathan@gcc.gnu.org>:

https://gcc.gnu.org/g:c49fcfddaa47f2828fe2af11ae857cd67f53e23f

commit r11-7322-gc49fcfddaa47f2828fe2af11ae857cd67f53e23f
Author: Nathan Sidwell <nathan@acm.org>
Date:   Mon Feb 22 06:43:32 2021 -0800

    c++: cross-header-unit template definitions [PR 99153]

    A member function can be defined in a different header-file than the
    one defining the class.  In such situations we must unmark the decl as
    imported.  When the entity is a template we failed to unmark the
    template_decl.

    Perhaps the duplication of these flags on the template_decl from the
    underlying decl is an error.  I set on the fence about it for a long
    time during development, but I don't think now is the time to change
    that (barring catastrophic bugs).

            PR c++/99153
            gcc/cp/
            * decl.c (duplicate_decls): Move DECL_MODULE_IMPORT_P propagation
            to common-path.
            * module.cc (set_defining_module): Add assert.
            gcc/testsuite/
            * g++.dg/modules/pr99153_a.H: New.
            * g++.dg/modules/pr99153_b.H: New.

  parent reply	other threads:[~2021-02-22 14:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18 15:49 [Bug c++/99153] New: ICE: tree check: expected binding_vector, have overload in maybe_record_mergeable_decl, at cp/name-lookup.c:3562 doko at debian dot org
2021-02-18 16:30 ` [Bug c++/99153] [11 Regression] " nathan at gcc dot gnu.org
2021-02-19  9:26 ` rguenth at gcc dot gnu.org
2021-02-19 13:21 ` nathan at gcc dot gnu.org
2021-02-19 22:35 ` [Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency nathan at gcc dot gnu.org
2021-02-22 14:52 ` cvs-commit at gcc dot gnu.org [this message]
2021-02-22 14:53 ` nathan at gcc dot gnu.org
2021-02-23 16:52 ` alexander.lelyakin at googlemail dot com
2021-02-23 17:04 ` alexander.lelyakin at googlemail dot com
2021-02-23 17:34 ` alexander.lelyakin at googlemail dot com
2021-02-23 18:01 ` 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-99153-4-KAJyupgsCK@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).