Compilation in optimized mode with gcc