public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/108525] New: [13 Regression] ICE in write_method_parms, at cp/mangle.cc:2864
Date: Tue, 24 Jan 2023 17:48:18 +0000	[thread overview]
Message-ID: <bug-108525-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             reply	other threads:[~2023-01-24 17:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-24 17:48 gscfq@t-online.de [this message]
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

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-108525-4@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).