Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Disabling Optimizer Remarks

pewwy
Beginner
242 Views
Hi, I am trying to compile in ICC with optimizations enabled. Unfortunately, the remarks that the omptimizer produces (e.g. Loop was vectorized) get in the way of the compiler warnings that I would like to see. Is there any way to disable the remarks?

0 Kudos
1 Reply
Intel_C_Intel
Employee
242 Views

/Qvec-report control amount of vectorizer diagnostic information:
n=0 no diagnostic information
n=1 indicate vectorized loops (DEFAULT)
n=2 indicate vectorized/non-vectorized loops
n=3 indicate vectorized/non-vectorized loops and prohibiting
data dependence information
n=4 indicate non-vectorized loops
n=5 indicate non-vectorized loops and prohibiting data
dependence information

So, you would like to use -Qvec-report0 (for Linux syntax, omit the Q).

0 Kudos
Reply