-size


< Compile Options / Optimize Options >

[Format]

-size

[Description]

-

When the size option is specified, optimization will be performed with emphasis on code size.

[Remarks]

-

When the size option is specified, the following options are automatically specified based on the optimize option specification. Note however that if one of the following options is specified otherwise explicitly, that specified option becomes valid.

-

When optimize=max is specified

 

Loop Expansion

Inline Expansion

Converting Constant Division into Multiplication

Scheduling Instructions

Constant Propagation of const Qualified Variables

Dividing Optimizing Ranges

Optimizing External Variable Accesses

Optimization Considering the Type of the Data Indicated by the Pointer

size

loop=1

inline=0

noconst_div

schedule

const_
copy

noscope

map*
nomap*

alias=ansi

Note

The default is map when a C/C++ source program has been specified for input and output=abs or output=mot has been specified for output. For any other case, the default is nomap.

-

When optimize=2 is specified

 

Loop Expansion

Inline Expansion

Converting Constant Division into Multiplication

Scheduling Instructions

Constant Propagation of const Qualified Variables

Dividing Optimizing Ranges

Optimizing External Variable Accesses

Optimization Considering the Type of the Data Indicated by the Pointer

size

loop=1

noinline

noconst_div

schedule

const_
copy

scope

nomap

alias=noansi

-

When optimize=0 or optimize=1 is specified

 

Loop Expansion

Inline Expansion

Converting Constant Division into Multiplication

Scheduling Instructions

Constant Propagation of const Qualified Variables

Dividing Optimizing Ranges

Optimizing External Variable Accesses

Optimization Considering the Type of the Data Indicated by the Pointer

size

loop=1

noinline

noconst_div

noschedule

noconst_
copy

scope

nomap

alias=noansi