Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
GCC Operation Compile 200-ish LOC at -Os: Mission Failed (badly)
(opens in new tab)
(godbolt.org)
1 points
rpnx
8mo ago
2 comments
Save
Share
2 comments
2 comments · 2 top-level
top
newest
oldest
rpnx
OP
8mo 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
8mo 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