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

--- Comment #1 from Utkarsh Khajuria <utkarshkhajuria55 at gmail dot com> ---
Created attachment 64642
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64642&action=edit
GCC 13.4.0 preprocessed source for nothrow_spec_p ICE, xz-compressed

I retested the same failing source with newer GCC versions using Linux x86_64
official GCC containers.

Results:

* GCC 13.4.0: reproduces the ICE
* GCC 14.3.0: does not reproduce; build succeeds
* GCC 15.2.0: does not reproduce; build succeeds

The GCC 13.4.0 failure is the same ICE:

internal compiler error: in nothrow_spec_p, at cp/except.cc:1196

It occurs while compiling:

src/libs/cgalpy/lib/export_approximate_kernel.cpp

The relevant source location is:

src/libs/cgalpy/include/cgalpy/Kernel/export_point_3.hpp:42

with:

.def("assign", py::overload_cast<const Pnt&>(&Pnt::operator=))

GCC 13.4.0 reported:

Preprocessed source stored into /tmp/cc8jTq0I.out file, please attach this to
your bugreport.

I am attaching that GCC 13.4.0-generated preprocessed source file,
xz-compressed because the raw preprocessed file exceeds Bugzilla’s attachment
size limit.

Compiler/version details from the retest:

Target: x86_64-linux-gnu
Thread model: posix
gcc version 13.4.0 (GCC)

The same retest workflow with GCC 14.3.0 and GCC 15.2.0 completed successfully.

Reply via email to