Thanks for the reply, Om. But I don't think that deals with the situation I'm seeing.
opt-report is not generating any optimisation reporting on Linux with ICC 12.0. It is doing something as object files are not being generated when the opt-report switch is used.
I can generate optimisation output with opt-report-phase. I can generate for various phases such as hlo, hpo. But I can't control how much output I get for each phase.
I can also use the vec-reportx switch to generate vectorisation specific reporting. The level of vectorisation output is controllable by varying x.
I have an anomalous situation where optimisation switches that generated much faster code on MS7 with ICC11.x are not having a positive impact on Linux with ICC12.0. I was hoping to use the opt-report switch to identify what is or isn't happening. Wading through the output from opt-report-phase is a lengthy process.
I need to make recommendations to management on the production build environment. All I can say at the moment is that ICCO2 works better than the version of gcc currently being used in production. Be nice to have some other ICC switches providing a benefit
Thanks, Tim. The compiler manual says that you need to have a space between the -opt-report and the n on Linux. Don't need the space on Windows. So as you correctly inferred it was generating obj files called pt-reportx ie reading it as -o etc