News for hackers. Stuff that matters.
Re:Forcing code out of line in GCC and C++11 by mattgodbolt on Sunday January 18, 2015 @12:38PM (#8908104)
Author here. I use this trick for a general 'bail out with error code' throw macro. By definition it's the exceptional case and so I'm happy to take the hit of going out of line. It's a macro used all over a very large codebase and so it made sense to do this. And yes, in some cases it helps the compiler inline more aggressively where it does matter.

There are no comments on this comment yet.