5.7.7.35 Thread-jumps Option
The -fthread-jumps
option enables checks to determine if the branch destinations
of comparisons are further comparisons that have been subsumed by the first. If so, the
first branch is redirected to either the destination of the second branch or a point
immediately following it, depending on whether the second branch condition is known to
be true or false.
This option is automatically enabled at optimization levels -O2
,
-O3
, and -Os
.
The -fno-thread-jumps
form of this option does not perform these
checks.