public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/109419] New: [modules] ICE: Segmentation fault when using -fmodules-ts and -g
@ 2023-04-05 12:50 pappi-@gmx.de
  2024-01-26 19:28 ` [Bug c++/109419] " ppalka at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: pappi-@gmx.de @ 2023-04-05 12:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109419
           Summary: [modules] ICE: Segmentation fault when using
                    -fmodules-ts and -g
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pappi-@gmx.de
  Target Milestone: ---

compiling 

-8x-------8x-------8x-------8x-------

#include <set>

struct A {
    A() {
       s.insert(1);
    }
    std::set<int> s;
};

#include <unordered_map>

-8x-------8x-------8x-------8x-------

as test.cpp with 

g++ -ggdb -std=c++20 -fmodules-ts -freport-bug -c test.cpp

leads to an segmentation fault:

internal compiler error: Segmentation fault signal terminated program cc1plus

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

* [Bug c++/109419] [modules] ICE: Segmentation fault when using -fmodules-ts and -g
  2023-04-05 12:50 [Bug c++/109419] New: [modules] ICE: Segmentation fault when using -fmodules-ts and -g pappi-@gmx.de
@ 2024-01-26 19:28 ` ppalka at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: ppalka at gcc dot gnu.org @ 2024-01-26 19:28 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |14.0
         Depends on|                            |104234
                 CC|                            |ppalka at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
This seems fixed for GCC 14 after r14-6394.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104234
[Bug 104234] ICE with -fmodules-ts and std::map/_Rb_tree

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

end of thread, other threads:[~2024-01-26 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-05 12:50 [Bug c++/109419] New: [modules] ICE: Segmentation fault when using -fmodules-ts and -g pappi-@gmx.de
2024-01-26 19:28 ` [Bug c++/109419] " 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).