Why I add -o0 in the platformio.ini and build will a lot errors?

Why I add -o0 in the platformio.ini and build will a lot errors?

build_flags = -O0
build_unflags = -Os