comparison gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do compile } */ 1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-thread1-stats -fdump-tree-thread2-stats -fdump-tree-dom2-stats -fdump-tree-thread3-stats -fdump-tree-dom3-stats -fdump-tree-vrp2-stats -fno-guess-branch-probability" } */ 2 /* { dg-options "-O2 -fdump-tree-thread1-stats -fdump-tree-thread2-stats -fdump-tree-dom2-stats -fdump-tree-thread3-stats -fdump-tree-dom3-stats -fdump-tree-vrp2-stats -fno-guess-branch-probability" } */
3 /* { dg-final { scan-tree-dump "Jumps threaded: 16" "thread1" } } */ 3 /* { dg-final { scan-tree-dump "Jumps threaded: 16" "thread1" } } */
4 /* { dg-final { scan-tree-dump "Jumps threaded: 9" "thread2" } } */ 4 /* { dg-final { scan-tree-dump "Jumps threaded: 9" "thread2" } } */
5 /* { dg-final { scan-tree-dump "Jumps threaded: 3" "thread3" } } */ 5 /* { dg-final { scan-tree-dump "Jumps threaded: 1" "dom2" } } */
6 /* { dg-final { scan-tree-dump-not "Jumps threaded" "dom2" } } */
7 /* { dg-final { scan-tree-dump-not "Jumps threaded" "dom3" } } */ 6 /* { dg-final { scan-tree-dump-not "Jumps threaded" "dom3" } } */
8 /* { dg-final { scan-tree-dump-not "Jumps threaded" "vrp2" } } */ 7 /* { dg-final { scan-tree-dump-not "Jumps threaded" "vrp2" } } */
8
9 /* Most architectures get 3 threadable paths here, whereas aarch64 and
10 possibly others get 5. We really should rewrite threading tests to
11 test a specific IL sequence, not gobs of code whose IL can vary
12 from architecture to architecture. */
13 /* { dg-final { scan-tree-dump "Jumps threaded: \[35\]" "thread3" } } */
9 14
10 enum STATE { 15 enum STATE {
11 S0=0, 16 S0=0,
12 SI, 17 SI,
13 S1, 18 S1,