Closed michaellenaghan closed 8 years ago
I suspect that the -O6
optimization in Bigloo is also unsafe, but I can't find any clear documentation that confirms it. (-Obench
is documented as unsafe, and I suspect -O6
= -Obench
.)
I couldn't find absolute confirmation re: -O6
being unsafe in Bigloo, but I came close. If you agree with "safe by default" I'd suggest changing Bigloo from -O6
to -O3
.
Seems like a good idea, I'll change these and also change Bigloo to -O3
Thank you!
I think it would be ideal to benchmark both safe and unsafe code—but in the absence of multiple tests for the same implementation it seems to me that benchmarks should be safe by default.