top | item 45586657

GCC Operation Compile 200-ish LOC at -Os: Mission Failed (badly)

1 points| rpnx | 4 months ago |godbolt.org

2 comments

order

rpnx|4 months ago

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!

rpnx|4 months ago

200-ish line C++ file with no user-defined templates generates around 90k assembly lines with -Os enabled.