public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107003] New: ICE in mangle_decl, at cp/mangle.cc:4112
@ 2022-09-21 17:38 gscfq@t-online.de
  2022-09-21 17:43 ` [Bug c++/107003] " mpolacek at gcc dot gnu.org
  2022-09-22 19:20 ` [Bug c++/107003] ICE in mangle_decl, at cp/mangle.cc:4112 since r6-1066-g233ce289250944dd marxin at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: gscfq@t-online.de @ 2022-09-21 17:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107003
           Summary: ICE in mangle_decl, at cp/mangle.cc:4112
           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: ---

Affects versions down to r6, at -O2+ :


$ cat z1.cc
#include <experimental/list>
namespace pmr = std::experimental::pmr;
void f ()
{
  using pl = pmr::list<int>;
  pl a;
  return;
}


$ gcc-13-20220918 -c z1.cc -O2 -flto -fno-weak
during IPA pass: *free_lang_data
In file included from .../include/c++/13.0.0/experimental/list:38,
                 from z1.cc:1:
.../include/c++/13.0.0/experimental/memory_resource:520:11: internal compiler
error: in mangle_decl, at cp/mangle.cc:4112
  520 |     class type final : public memory_resource
      |           ^~~~
0x95d694 mangle_decl(tree_node*)
        ../../gcc/cp/mangle.cc:4111
0x1504062 decl_assembler_name(tree_node*)
        ../../gcc/tree.cc:741
0x1536050 assign_assembler_name_if_needed(tree_node*)
        ../../gcc/tree.cc:856
0x201be6d free_lang_data_in_cgraph
        ../../gcc/ipa-free-lang-data.cc:1064
0x201be6d free_lang_data
        ../../gcc/ipa-free-lang-data.cc:1109
0x201be6d execute
        ../../gcc/ipa-free-lang-data.cc:1176

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

end of thread, other threads:[~2022-09-22 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 17:38 [Bug c++/107003] New: ICE in mangle_decl, at cp/mangle.cc:4112 gscfq@t-online.de
2022-09-21 17:43 ` [Bug c++/107003] " mpolacek at gcc dot gnu.org
2022-09-22 19:20 ` [Bug c++/107003] ICE in mangle_decl, at cp/mangle.cc:4112 since r6-1066-g233ce289250944dd marxin 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).