-Xalign4


This option specifies the alignment value for branch destination addresses.

[Specification format]

-Xalign4[=mode]

 

-

Interpretation when omitted

The alignment value for branch destination addresses is set to 2.

[Detailed description]

-

This option sets the alignment value for branch destination addresses specified by mode to 4.

-

One of the following can be specified as mode. An error will occur if any other item is specified.

-

function
The alignment value for function start addresses is set to 4.

-

loop
The alignment value for function start addresses and the start addresses of all loops is set to 4.

-

innermostloop
The alignment value for function start addresses and the start address of the innermost loop is set to 4.

-

all
The alignment value for function start addresses and all branch destination addresses is set to 4.

-

When =mode is omitted
The alignment value for function start addresses is set to 4 (same as function).

-

If an object module file or a standard library that has been generated through compilation without using this option is specified for linkage, the warning W0561322 will be output at linkage but program execution will have no problem.