Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
GCC Operation Compile 200-ish LOC at -Os: Mission Failed (badly) | Better HN
GCC Operation Compile 200-ish LOC at -Os: Mission Failed (badly)
(opens in new tab)
(godbolt.org)
1 points
rpnx
5mo ago
2 comments
Share
2 comments
default
newest
oldest
rpnx
OP
5mo 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
OP
5mo ago
200-ish line C++ file with
no user-defined templates
generates around 90k assembly lines with -Os enabled.
j
/
k
navigate · click thread line to collapse