mserialize-volatile, Qserialize-volatile

Imposes strict memory access ordering for volatile data object references.

IDE Equivalent

None

Architectures

IA-64 architecture

Syntax

Linux: -m[no-]serialize-volatile
Mac OS:  None
Windows:    /Qserialize-volatile
    /Qserialize-volatile-

Arguments

None

Default

OFF      The compiler uses default memory access ordering.

Description

This option imposes strict memory access ordering for volatile data object references.

If you specify -mno-serialize-volatile, the compiler may suppress both run-time and compile-time memory access ordering for volatile data object references. Specifically, the .rel/.acq completers will not be issued on referencing loads and stores.

Alternate Options

None