On Wednesday, 23 October 2019 at 11:33:56 UTC, kinke wrote:
Simply check the IR or asm, e.g., on run.dlang.io. If there's a call to `_d_arraybounds` in the function of interest, bounds checks are enabled.
The ASM- and IR-output from the following code is pretty messy for ldc with flags `-release -O` Is it possible to remove cluttering? https://run.dlang.io/is/mAXOm6