Sun WorkShop Compiler C 5.0 User's Guide

-xmaxopt=<off, 1, 2, 3, 4, 5>

This command limits the level of pragma opt to the level specified. The default value is -xmaxopt=off which causes pragma opt to be ignored. If you specify -xmaxopt without supplying an argument, that is the equivalent of specifying -xmaxopt=5.