freg-struct-return

Tells the compiler to return struct and union values in registers when possible. This content is specific to C++; it does not apply to DPC++.

Architecture Restrictions

Only available on IA-32 architecture

Syntax

Linux:

-freg-struct-return

Windows:

None

Arguments

None

Default

OFF

Description

This option tells the compiler to return struct and union values in registers when possible.

IDE Equivalent

None

Alternate Options

None