Sun WorkShop Compiler C 5.0 User's Guide

Compilation Behavior

Only in the transition or pre-ANSI/ISO modes (-Xt or -Xs) does the ANSI/ISO C compiler use the unsigned preserving promotions; in the other two modes, conforming (-Xc) and ANSI/ISO (-Xa), the value preserving promotion rules are used.