Initializes automatic variables to the two-digit hexadecimal byte value hex_value.


Read syntax diagramSkip visual syntax diagram        .-noinitauto-------------.
>>- -q--+-initauto--=--hex_value-+-----------------------------><

See also #pragma options.


The option generates extra code to initialize the value of automatic variables. It reduces the runtime performance of the program and should only be used for debugging.

There is no default setting for the initial value of -qinitauto. You must set an explicit value (for example, -qinitauto=FA).


To compile myprogram.c so that automatic variables are initialized to hex value FF (decimal 255), enter:

xlc myprogram.c -qinitauto=FF

Related information