We should deprecate -release

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sat Jul 13 16:48:16 UTC 2024


On 14/07/2024 4:44 AM, Walter Bright wrote:
>> Note, I was wrong about the -O and -inline being implied -- you still 
>> have to put those in. -release just gets rid of all the safety checks.
> 
> Are you sure? It says in the documentation they are.

Nothing is screaming that it does turn on optimizations.

https://github.com/search?q=repo%3Adlang%2Fdmd%20params.release&type=code

https://github.com/dlang/dmd/blob/9a5ce0e1efe4d395a436e2c6c1cdf7039320e0e0/compiler/src/dmd/main.d#L995


More information about the Digitalmars-d mailing list