O3 flags and optimizations