问题
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.
来源:https://stackoverflow.com/questions/48030795/when-using-mutli-file-ipo-can-icc-optimize-across-the-c-and-c-language-bounda