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

            Bug ID: 124092
           Summary: C++23 ICE prompted by boost::cobalt::left_race
           Product: gcc
           Version: 15.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: n.d.chernyshev at hotmail dot com
  Target Milestone: ---

Created attachment 63662
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63662&action=edit
Original and pre-processed source files

Attempting to compile the MWE file attached produces an internal compiler
error.

Command:
g++.exe -std=c++23 -fdiagnostics-color=always -freport-bug -g
"path\to\src\file\main.cpp" -o "path\to\bin\file\main.exe" -lstdc++exp
-lboost_cobalt-mt -lboost_context-mt -lws2_32 -lmswsock

Error:
internal compiler error: in make_decl_rtl, at varasm.cc:1459
23 |         co_await left_race(data_generator_0(), data_generator_1());
   |                                                                  ^

GCC version 15.2.0 rev9
MSYS2/MinGW-w64 build

Reply via email to