public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107897] New: [13 Regression] ICE in verify_curr_properties, at passes.cc:2201
@ 2022-11-28 17:56 gscfq@t-online.de
  2022-11-28 18:06 ` [Bug c++/107897] " pinskia at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: gscfq@t-online.de @ 2022-11-28 17:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107897
           Summary: [13 Regression] ICE in verify_curr_properties, at
                    passes.cc:2201
           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 20221030 and 20221106,
with file g++.dg/cpp2a/concepts-lambda3.C :


$ gcc-13-20221127 -c concepts-lambda3.C -std=c++20 -flto -fno-inline
concepts-lambda3.C:40:13: error: mangling of 'main(int,
char**)::<lambda(auto:5)> [with auto:5 = int]' as
'_ZZ4mainENKUlT_E1_clIiEEDaS_' conflicts with a previous mangle
   40 |   auto a0 = [](IsNotLarge auto a) { return [](auto b){ return b; }; };
      |             ^
concepts-lambda3.C:37:3: note: previous mangling 'int main(int,
char**)::<lambda(auto:3)>::_ZZ4mainENKUlT_E1_clIiEEDaS_(int) const'
   37 |   [](auto t) requires true { return t; }(5);
      |   ^
concepts-lambda3.C:40:13: note: a later '-fabi-version=' (or =0) avoids this
error with a change in mangling
   40 |   auto a0 = [](IsNotLarge auto a) { return [](auto b){ return b; }; };
      |             ^
during IPA pass: targetclone
concepts-lambda3.C:63:1: internal compiler error: in verify_curr_properties, at
passes.cc:2201
   63 | }
      | ^
0x10c1cb5 verify_curr_properties
        ../../gcc/passes.cc:2201
0x10c23dd do_per_function
        ../../gcc/passes.cc:1701

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

end of thread, other threads:[~2023-03-30 12:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-28 17:56 [Bug c++/107897] New: [13 Regression] ICE in verify_curr_properties, at passes.cc:2201 gscfq@t-online.de
2022-11-28 18:06 ` [Bug c++/107897] " pinskia at gcc dot gnu.org
2022-11-29  7:43 ` rguenth at gcc dot gnu.org
2022-11-29  9:26 ` cvs-commit at gcc dot gnu.org
2022-11-29  9:27 ` [Bug c++/107897] [13 Regression] mangling conflicts with a previous mangle rguenth at gcc dot gnu.org
2022-12-01 15:39 ` [Bug c++/107897] [13 Regression] mangling conflicts with a previous mangle since r13-3601 jakub at gcc dot gnu.org
2022-12-21  9:53 ` rguenth at gcc dot gnu.org
2023-02-02 16:12 ` jakub at gcc dot gnu.org
2023-03-06 20:01 ` jason at gcc dot gnu.org
2023-03-09 21:59 ` jason at gcc dot gnu.org
2023-03-30 11:23 ` cvs-commit at gcc dot gnu.org
2023-03-30 12:13 ` jason 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).