by Crinus · 7y ago · 0 comments
The problem is having both at the same time (i haven't seen any build configuration try to mix optimization levels) without compromising on compiler speed for -O1, so projects that require -O2 for a 0.1% of their codebase apply it for 100% of it.
In theory depending on the language you could mix different compilers, but that is a big can of worms (and other bugs).