If multi-file IPO (also commonly known as link-time optimization) is being used with icc, is it possible that code can be optimized across the C and C++ language boundary?
For example, can a C function be inlined into a C++ caller?
This has been tested to work for clang and gcc but the LTO mechanism is somewhat different for icc is somewhat different.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…