In the past, I’ve asked about what we can expect from IPO with the Intel compiler. My take away from that was that we cannot expect Intel C++ to inline function pointer arguments to other functions when the two are in different translation units.
What about the case where both the caller and callee are in the same translation unit, and we are compiling with just “–ip”?