GCC Operation Compile 200-ish LOC at -Os: Mission Failed (badly)
godbolt.org
2 threads
Ran across this while writing the Quxlang compiler frontend. Was wondering how GCC/Clang solved this problem... turns out at least with regard to GCC... they don't!
200-ish line C++ file with no user-defined templates generates around 90k assembly lines with -Os enabled.