With IBM's XL compiler family it is possible to supply two options (-qreport
and -qlist
) to generate reports for each source file that include information on which optimizations were applied, or which parts of the code could not be optimized (and why).
Is it possible to get a similar reporting for GNU's g++ - and if yes, how to do it?