2 // { dg-options "-O2 -fdisable-tree-ethread -fdisable-tree-thread1 -fdisable-tree-thread2 -fno-tree-dominator-opts -fdump-tree-threadfull2-details" }
4 // Test that we can thread jumps across the backedge of a loop through
5 // the switch statement to a particular case.
7 // Just in case, we disable all the jump threaders before loop
8 // optimizations to make sure we get a clean stab at this.
10 int foo (unsigned int x
, int s
)
32 // { dg-final { scan-tree-dump "Registering jump thread:.*normal \\(back\\)" "threadfull2" } }