> GCC's default optimization level is -O0. Unfortunately unlike other > compilers, GCC generates extremely inefficient code with -O0.
Agreed (but this can probably be worked on). > It is almost unusable for low-level debugging or manual inspection of > generated code. Likewise. > So a -O option is always required for compilation. For compiler hackers only though. For normal users, -O0 is still the only level where you're guaranteed to be able to do full source debugging. -- Eric Botcazou