public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/113930] New: [modules] ICE in register_duplicate when using partitioned modules
@ 2024-02-15 16:07 nickbegg at gmail dot com
  2024-02-15 19:55 ` [Bug c++/113930] [modules] checking " ppalka at gcc dot gnu.org
  2024-03-08 15:49 ` ppalka at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: nickbegg at gmail dot com @ 2024-02-15 16:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113930
           Summary: [modules] ICE in register_duplicate when using
                    partitioned modules
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nickbegg at gmail dot com
  Target Milestone: ---

Created attachment 57434
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57434&action=edit
-freport-bug output

/home/nick/gcc-trunk-debug-inst/include/c++/14.0.1/bits/basic_string.h:643:16:
internal compiler error: in register_duplicate, at cp/module.cc:11621
  643 |       template<typename = _RequireAllocator<_Alloc>>
      |                ^~~~~~~~

// submod.mpp

module;

#include <iostream>

export module modA:submod;

// modA.mpp

module;

export module modA;

export import :submod;

// main.cpp

#include <string>

import modA;

std::string test_func() {
    return "";
}

Tested with GCC 14 (trunk), git rev bbb30f12a7e5ce008f59ec26c9e4cc65ee79fe56

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/113930] [modules] checking ICE in register_duplicate when using partitioned modules
  2024-02-15 16:07 [Bug c++/113930] New: [modules] ICE in register_duplicate when using partitioned modules nickbegg at gmail dot com
@ 2024-02-15 19:55 ` ppalka at gcc dot gnu.org
  2024-03-08 15:49 ` ppalka at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ppalka at gcc dot gnu.org @ 2024-02-15 19:55 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |103524
            Summary|[modules] ICE in            |[modules] checking ICE in
                   |register_duplicate when     |register_duplicate when
                   |using partitioned modules   |using partitioned modules
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |ice-checking,
                   |                            |ice-on-valid-code
     Ever confirmed|0                           |1
                 CC|                            |ppalka at gcc dot gnu.org
   Last reconfirmed|                            |2024-02-15

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Confirmed, we're tripping over a checking-only assert; release builds don't
ICE.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
[Bug 103524] [meta-bug] modules issue

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/113930] [modules] checking ICE in register_duplicate when using partitioned modules
  2024-02-15 16:07 [Bug c++/113930] New: [modules] ICE in register_duplicate when using partitioned modules nickbegg at gmail dot com
  2024-02-15 19:55 ` [Bug c++/113930] [modules] checking " ppalka at gcc dot gnu.org
@ 2024-03-08 15:49 ` ppalka at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ppalka at gcc dot gnu.org @ 2024-03-08 15:49 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
The checking ICE gone after r14-9375 here as well, so let's call this a dup of
PR114229.

*** This bug has been marked as a duplicate of bug 114229 ***

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-08 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15 16:07 [Bug c++/113930] New: [modules] ICE in register_duplicate when using partitioned modules nickbegg at gmail dot com
2024-02-15 19:55 ` [Bug c++/113930] [modules] checking " ppalka at gcc dot gnu.org
2024-03-08 15:49 ` ppalka at gcc dot gnu.org

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).