Workaround for issue #318.

The std.range tests are failing because of a LLVM bug. See
PR15608 for deatils. The bug is fixed in LLVM 3.3.
The workaroung is to run the std.range test only with -O1.
Merge pull request #322 from redstar/issue318

Workaround for issue #318.