Sun WorkShop Compiler C 5.0 User's Guide

-xinline=[f1,...,fn]

Tries to inline only those functions named in the list f1 to fn for user-written routines. The list is a comma-separated list of functions and subroutines.

If you are compiling with -xO3, you can use this option to increase optimization by inlining some routines. The -xO3 option does not inline by itself.

If you are compiling with -xO4, using this option can decrease optimization by restricting inlining to only those routines in the list. With -xO4, the compiler normally tries to inline all user-written subroutines and functions. When you specify xinline= but do not name any functions, this indicates that none of the routines in the source file are to be inlined.

A routine is not inlined if any of the following conditions apply. No warning is issued.