D-Programming-Language/dmd — pull request #607 by 9rnsr (2012-01-04 12:23:01+00:00)
Title: Issue 6205 - Strongly-pure nothrow functions with ignored return value are entirely stripped even if it contains a failing 'assert'.

http://d.puremagic.com/issues/show_bug.cgi?id=6205

Such optimization should run only when `-O -release` is specified.