rcox2 added a comment.
Of course, it would be my preference to mirror the functionality of what is
available in the "new" hierarchical form of optimization report Intel compiler.
So, I would like to distinguish between what Hal is proposing (which we call
an "annotated listing") and what I am
rcox2 added a comment.
Actually, the Intel compiler distinguishes between an optimization report
(-qopt-report) and an annotated listing (-qopt-report-annotate). The
optimization report lists the info for optimizations in a hierarchical fashion.
To use you example,
icc -c -O3 -qopt-report=