d.gnu@puremagic.com

2021-08-23 Thread jfondren via D.gnu
On Wednesday, 18 August 2021 at 08:09:36 UTC, Iain Buclaw wrote: On Wednesday, 18 August 2021 at 07:08:09 UTC, Mahdi wrote: A helloworld program on the X86_64-pc-linux-gnu platform contains 40 lines of assembly code or on the ARM (aarch64-linux-gnu) platform only 34 lines of assembly code, b

Re: The reason for not compiling safeD code on the gdc compiler

2021-08-21 Thread jfondren via D.gnu
On Saturday, 21 August 2021 at 07:16:46 UTC, Heikuw wrote: What causes this example of safeD code to be compiled in dmd and ldc but not compiled in gcc? The default behavior varies, but the dip1000 behavior is the same: ``` $ gdc -ftransition=dip1000 bug.d bug.d:26:28: error: scope variable mp