Sun Studio 12: Fortran User's Guide

3.4.21 –errtags[={yes|no}]

Display the message tag with each warning message.

With-errtags=yes, the compiler’s internal error tag name will appear along with warning messages. -errtags alone is equivalent to -errtags=yes.

The default is not to display the tag (-errtags=no).

demo% f95 -errtags ink.f
"ink.f", line 11: Warning: local variable "i" never used (WDECL_LOCAL_NOTUSED)