Developer Guide and Reference

  • 2021.2
  • 04/07/2021
  • Public Content
  • Download as PDF
Contents

fjump-tables

Determines whether jump tables are generated for switch statements.

Syntax

Linux:
-fjump-tables
-fno-jump-tables
Windows:
None
Arguments
None
Default
-fjump-tables
The compiler may use jump tables for switch statements.
Description
This option determines whether jump tables are generated for switch statements.
Option
-fno-jump-tables
prevents the compiler from generating jump tables for switch statements. This action is performed unconditionally and independent of any generated code performance consideration.
Option
-fno-jump-tables
also prevents the compiler from creating switch statements internally as a result of optimizations.
Use
-fno-jump-tables
with
-fpic
when compiling objects that will be loaded in a way where the jump table relocation cannot be resolved.
IDE Equivalent
None
Alternate Options
None

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.