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++/98944] [modules] Failed to read compiled module with a non-exported partition.
Date: Tue, 09 Feb 2021 16:17:19 +0000	[thread overview]
Message-ID: <bug-98944-4-mqCDUrPjr8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-98944-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 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:92941cea2f05a8cf79fc71aa39fa948dcfb82d7a

commit r11-7150-g92941cea2f05a8cf79fc71aa39fa948dcfb82d7a
Author: Nathan Sidwell <nathan@acm.org>
Date:   Tue Feb 9 08:11:58 2021 -0800

    c++: Fix indirect partitions [PR 98944]

    The most recent reimplementation of module loading initialization
    changed the behaviour of setting an import's location, and broke some
    partition handling.

            PR c++/98944
            gcc/cp/
            * module.cc (module_state::is_rooted): Rename to ...
            (module_state::has_location): ... here.  Adjust callers.
            (module_state::read_partitions): Adjust validity check.
            Don't overwrite a known location.
            gcc/testsuite/
            * g++.dg/modules/pr98944_a.C: New.
            * g++.dg/modules/pr98944_b.C: New.
            * g++.dg/modules/pr98944_c.C: New.
            * g++.dg/modules/pr98944_d.C: New.

  parent reply	other threads:[~2021-02-09 16:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-02 20:38 [Bug c++/98944] New: " iains at gcc dot gnu.org
2021-02-09  6:49 ` [Bug c++/98944] " StevenSun2021 at hotmail dot com
2021-02-09 13:56 ` nathan at gcc dot gnu.org
2021-02-09 16:17 ` cvs-commit at gcc dot gnu.org [this message]
2021-02-09 16:17 ` 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-98944-4-mqCDUrPjr8@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).