Originally posted by coder
View Post
I've seen people coming primarily from a big Chicagoan hedge fund that proclaim that inlining is the end of it all for optimization. And over-inlining (especially of error handling code, that essentially never gets called) leads to lots of register spills. Typically over-inlining is done by hand though (people abusing the inline keyword and also the force inline attribute).
Finally, do you have a good explanation for the semantics of __builtin_unreachable()? Semantically, and separately from an optimization perspective if you know, is there a difference between that and #if 0? (much appreciated btw)
Comment