mserialize-volatile, Qserialize-volatile

Imposes strict memory access ordering for volatile data object references.

IDE Equivalent

None

Architectures

IntelŪ ItaniumŪ architecture

Syntax

Linux and Mac OS: -m[no-]serialize-volatile
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