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

--- Comment #11 from Cameron Angus <cjangus at gmail dot com> ---
Okay, updated attachments reproduce bug on gcc version 15.0.1 20250330, from a
few days ago. The change added a bit more to the GMF, and also required
exporting something. Very slightly different output, but ICE points to the
exact same line in GCC source as before.

In file included from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-system-1.85.0/include/boost/system/detail/error_code.hpp:14,
                 from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-system-1.85.0/include/boost/system/errc.hpp:14,
                 from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-system-1.85.0/include/boost/system/result.hpp:8,
                 from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-json-1.85.0/include/boost/json/result_for.hpp:17,
                 from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-json-1.85.0/include/boost/json/system_error.hpp:17,
                 from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-json-1.85.0/include/boost/json/error.hpp:14,
                 from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-json-1.85.0/include/boost/json/detail/except.hpp:13,
                 from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-json-1.85.0/include/boost/json/string.hpp:19,
                 from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-json-1.85.0/include/boost/json/value.hpp:21,
                 from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-json-1.85.0/include/boost/json/array.hpp:1762,
                 from
/home/cjangus/kantan/out/gcc-latest-modules/libboost-json-1.85.0/include/boost/json.hpp:15,
                 from
/home/cjangus/kantan/root/kdeps/kdeps/kdeps/include/kdeps/gcc_repro.hpp:2,
                 from
/home/cjangus/kantan/root/kdeps/kdeps/kdeps/include/kdeps/gcc_repro_a.ipp:4,
of module gcc_repro_a, imported at
/home/cjangus/kantan/root/kdeps/kdeps/kdeps/include/kdeps/gcc_repro.cpp:4:
/home/cjangus/kantan/out/gcc-latest-modules/libboost-system-1.85.0/include/boost/system/detail/error_category.hpp:
In member function ‘virtual bool boost::system::error_category::failed(int)
const’:
/home/cjangus/kantan/out/gcc-latest-modules/libboost-system-1.85.0/include/boost/system/detail/error_category.hpp:106:18:
internal compiler error: in tree_node_structure_for_code, at tree.cc:603
  106 |     virtual bool failed( int ev ) const noexcept
      |                  ^~~~~~

Reply via email to