On Wednesday, 5 March 2025 at 16:58:18 UTC, Kirill Kryukov wrote:
Hi all,

I was debugging an old project that started crashing after upgrading to a recent toolchain. I noticed that commenting out invariants helps. I reduced it to the following:

[...]

Is this a bug, or am I misunderstanding something?

Compiled with "gdc -Og -o repro repro.d", using gdc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3), on Linux.

Thanks.

I tried compiling your example using both DMD and LDC, and was unable to reproduce the crash. So this may be a GDC-specific problem.

Reply via email to