Developer Guide and Reference

Contents

fmerge-constants

Determines whether the compiler and linker attempt to merge identical constants (string constants and floating-point constants) across compilation units.

Syntax

Linux:
-fmerge-constants
-fno-merge-constants
macOS:
None
Windows:
None
Arguments
None
Default
-fmerge-constants
The compiler and linker attempt to merge identical constants across compilation units if the compiler and linker supports it.
Description
This option determines whether the compiler and linker attempt to merge identical constants (string constants and floating-point constants) across compilation units.
If you do not want the compiler and linker to attempt to merge identical constants across compilation units. specify
-fno-merge-constants
.
Alternate Options
None