release mode optimization

David Nadlinger see at klickverbot.at
Wed Jan 9 17:40:03 PST 2013


On Thursday, 10 January 2013 at 01:14:42 UTC, H. S. Teoh wrote:
> I tested DMD on a loop containing assert(true);, and apparently 
> that
> *is* optimized out with -O.

I tested it with the program from Jonathan's post – still has an 
empty inc/cmp/jl loop in there with -O -release (x86_64).

David


More information about the Digitalmars-d-learn mailing list