Determines whether jump tables are generated for switch statements.
IA-32, Intel® 64 architectures
Linux and Mac OS X: | -fjump-tables -fno-jump-tables |
Windows: | None |
None
-fjump-tables |
The compiler uses jump tables for switch statements. |
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.
None
Copyright © 1996-2010, Intel Corporation. All rights reserved.