-store_reg [Professional Edition only] [V1.06.00 or later]


This option controls detection of writing to control registers or insertion of synchronization processing between registers.

[Specification format]

-store_reg[=mode]

 

-

Interpretation when omitted

If #pragma register_group is written, the operation is the same as that when -store_reg=list is specified.

[Detailed description]

-

This option recognizes #pragma register_group as a valid #pragma directive and carries out the operation specified by mode.

See "4.2.6.14 Detection of writing to control registers or insertion of synchronization processing [Professional Edition only] [V1.06.00 or later]" for details on #pragma register_group.

-

Specify either one of the following as mode. An error will occur if any other item is specified.

-

list

This option allows the compiler to detect writing to the control registers defined as #pragma register_group and display the source line number of the write instructions to the standard error output, except where the succeeding instruction will clearly be for writing to the same group, in which case the compiler does not display the source line number.

-

list_all

This option allows the compiler to detect writing to the control registers defined as #pragma register_group and display the source line number of the write instructions to the standard error output. The source line number are displayed regardless of whether the succeeding instruction will clearly be for writing to the same group.

-

sync

This option allows the compiler to detect writing to the control registers defined as #pragma register_group and inserts synchronization processing after write instructions for these registers, except where the succeeding instruction will clearly be for writing to the same group, in which case the compiler does not insert a synchronization processing.

-

ignore

#pragma register_group is ignored but a warning is not output.

-

When =mode is omitted

The operation is the same as that when -store_reg=list is specified.