I have read about "Whole Program Optimization" (wpo) and "Link Time Code Generation" (ltcg).
I wonder is there more inter-module-analysis going on if I pass all sources at once to the compiler from the cli (like "g++ a.cpp b.cpp")? Or is that just going to enable one of those flags?
Is there a difference between compilers for this? For instance can the intel compiler benefit from such practice while other compilers don't?