Article on overzealous compiler optimizations

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 20 15:39:42 PDT 2014


Walter Bright:

> This is an opportunity for D to define the spec in such away as 
> to preclude the bad optimizations while keeping the good ones. 
> Any ideas?

Such optimizations are one of the causes that make memory-unsafe 
the D reliance of null pointer segfaults, even in @safe functions.

Bye,
bearophile


More information about the Digitalmars-d mailing list