public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108525] New: [13 Regression] ICE in write_method_parms, at cp/mangle.cc:2864
@ 2023-01-24 17:48 gscfq@t-online.de
  2023-01-24 17:51 ` [Bug c++/108525] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2023-01-24 17:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108525
           Summary: [13 Regression] ICE in write_method_parms, at
                    cp/mangle.cc:2864
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20220925 and 20221009 :
(ok without "static")


$ cat z1.cc
auto b = [](...) static { return 1; };


$ g++-13-20230122 -c z1.cc -std=c++23
z1.cc:1:10: internal compiler error: Segmentation fault
    1 | auto b = [](...) static { return 1; };
      |          ^
0xeb575f crash_signal
        ../../gcc/toplev.cc:314
0x871e8d write_method_parms
        ../../gcc/cp/mangle.cc:2864
0x86ea28 write_closure_type_name
        ../../gcc/cp/mangle.cc:1819
0x86ea28 write_unqualified_name
        ../../gcc/cp/mangle.cc:1511
0x876dd7 write_prefix
        ../../gcc/cp/mangle.cc:1257
0x86f764 write_nested_name
        ../../gcc/cp/mangle.cc:1167
0x872031 write_encoding
        ../../gcc/cp/mangle.cc:853
0x87212c write_mangled_name
        ../../gcc/cp/mangle.cc:799
0x8726e1 mangle_decl_string
        ../../gcc/cp/mangle.cc:4108
0x87290b get_mangled_id
        ../../gcc/cp/mangle.cc:4129
0x87290b mangle_decl(tree_node*)
        ../../gcc/cp/mangle.cc:4167
0x113e512 decl_assembler_name(tree_node*)
        ../../gcc/tree.cc:717
0xa9b23f symtab_node::get_comdat_group_id()
        ../../gcc/cgraph.h:254
0xa9b23f analyze_functions
        ../../gcc/cgraphunit.cc:1192
0xa9c3fd symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.cc:2547

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

end of thread, other threads:[~2023-02-08 12:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-24 17:48 [Bug c++/108525] New: [13 Regression] ICE in write_method_parms, at cp/mangle.cc:2864 gscfq@t-online.de
2023-01-24 17:51 ` [Bug c++/108525] " pinskia at gcc dot gnu.org
2023-01-24 17:53 ` jakub at gcc dot gnu.org
2023-01-24 17:53 ` jakub at gcc dot gnu.org
2023-01-24 17:54 ` pinskia at gcc dot gnu.org
2023-01-24 18:05 ` jakub at gcc dot gnu.org
2023-01-25 14:14 ` [Bug c++/108525] [13 Regression] ICE in write_method_parms with static on lambda with ... argument cvs-commit at gcc dot gnu.org
2023-01-25 14:23 ` jakub at gcc dot gnu.org
2023-02-08 12:59 ` cvs-commit 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).